April 2019
Intermediate to advanced
372 pages
12h 47m
English
The LocalAccounts module is a typical binary module that consists of a library 'Microsoft.Powershell.LocalAccounts.dll' and a module manifest. After having been examined for compatibility with .NET Standard, the property CompatiblePSEditions has been adjusted, as shown in the following code:
CompatiblePSEditions = @('Desktop', 'Core')
In this recipe, you used operating system methods wrapped in cmdlets to create new users, modify local groups, and, finally, remove users. Using the pipeline, these tasks are very easy to do. PowerShell's verbose syntax makes this code pretty self-documenting.
Read now
Unlock full access