-
-
Save paulvill76/f64eb1207a6aaf35714f0c82c98f03f8 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
dc-prep.ps1