Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PlagueHO/3f4dc6d70e9fa9e294c4a1c691fe7aad to your computer and use it in GitHub Desktop.
Save PlagueHO/3f4dc6d70e9fa9e294c4a1c691fe7aad to your computer and use it in GitHub Desktop.
Code Revisions 5 Install Windows Admin Center using DSC on Port 4000 and using a custom certificate
Invoke-WebRequest -Uri 'https://gist.githubusercontent.com/PlagueHO/e8120e1cc01b447d084322eb2ad14c95/raw/2aff9e1a8d94cdb6f8a7409874a3bdbfcf234f8e/WindowsAdminCenterDscConfiguration.ps1' -OutFile 'WindowsAdminCenterDscConfiguration.ps1'
Install-Module -Name PSDscResources
. .\WindowsAdminCenterDscConfiguration.ps1
WindowsAdminCenter -Port 4000 -Thumbprint 'fddfec2150b2a1c0d1166debffdbed1d55798485'
Start-DscConfiguration -Path .\WindowsAdminCenter\ -ComputerName localhost -Wait -Verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment