Created
December 5, 2016 19:10
-
-
Save bobalob/39c143ba6d578629520c5d38d855842f to your computer and use it in GitHub Desktop.
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
if (!($guid)) {[Guid]$Guid = Read-Host "Paste GUID for client here:"} | |
$NewPullClientMof = "C:\DSC\NewPullClient\pullclient.example.com.mof" | |
$GuidPullClientMof = "C:\Program Files\WindowsPowerShell\DscService\Configuration\$($guid.guid).mof" | |
Copy-Item -Path $NewPullClientMof -Destination $GuidPullClientMof | |
New-DSCChecksum $NewPullClientMof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment