Last active
September 30, 2018 08:55
-
-
Save Slusho/c254abf2abc94eeec3f71a165e53562d to your computer and use it in GitHub Desktop.
prep domain controller
This file contains 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
<# Notes: | |
Goal - Prepare the local machine by installing needed PowerShell Gallery modules. | |
Disclaimer - This example code is provided without copyright and AS IS. It is free for you to use and modify. | |
Credit to Greg Shields | |
#> | |
Get-PackageSource -Name PSGallery | Set-PackageSource -Trusted -Force -ForceBootstrap | |
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | |
Install-Module xActiveDirectory -Force | |
Install-Module xComputerManagement -Force | |
Install-Module xNetworking -Force | |
Install-Module xDnsServer -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment