You can order it today from all the usual places, including https://smile.amazon.co.uk/Windows-Server-Automation-PowerShell-Cookbook/dp/1804614238.
This book updates earlier editions and covers, specifically, PowerShell 7.2 (as an LTS release) and Windows Server 2022. It should also be useful if you are using PowerShell 7 on earlier versions of Windows Server too.
Here is the table of contents:
- Installing and Configuring PowerShell 7
- Managing PowerShell 7 in the Enterprise
- Exploring .NET
- Managing Active Directory
- Managing Networking
- Implementing Enterprise Security
- Managing Storage
- Managing Shared Data
- Managing Printing
- Exploring Windows Containers
- Managing Hyper-V
- Debugging and Troubleshooting Windows Server
- Managing Window Server with Window Management Instrumentation (WMI)
- Managing Windows Update Services
An addition is a chapter on WSUS. The WSUS module is one of the three modules you can not use within PowerShell 7. You can not load the module natively within a PowerShell 7 since the .NET APIs that the module relies on are unavailable (in .Net) Additionally, the normal Windows PowerShell compatibility mechanism does not work with this module because the WSUS module is based on methods and not actual cmdlets. With WSUS, you instantiate the WSUS server instance of the server you wish to manage, then use that object's methods. With the compatibility solution, you do not have access to the methods.
There IS a way around this - you can create a remoting session to a Windows PowerShell endpoint and do all the work within that session. It is a bit more work: you create the remoting session, create script blocks that perform WSUS management activities, then execute those script blocks within the session.
My publisher is looking for potential reviewers - you get a copy in exchange for writing a review. Contact me if you are interested.
Post a Comment