This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.Synopsis | |
Restore select Ad Attributes from a mounted AD DS database | |
.DESCRIPTION | |
This cmdlet will take a OU path as input, takes a backup of the attributes of all users | |
in said OU, import the attributes from a currently mounted AD DS database into a | |
hashtable, loop through each user in the OU and apply said attributes. Finally, a export | |
of the users current attributes is saved in the same path as the backup for before/after | |
comparisons | |
.EXAMPLE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get NuGet provider | |
Install-PackageProvider -Name NuGet -Force | |
# Import NuGet provider | |
Import-PackageProvider -Name NuGet -Force | |
# Get Autopilot Script | |
Install-Script -Name Get-WindowsAutoPilotInfo -Force | |
# Get Az Modules |
OlderNewer