DSCResources/xIISMachineKey/Test.ps1
$Has = @{ SiteName = "hphsite"; Decryption = "Auto"; Validation = "AES"; ValidationKey = "xxx" DecryptionKey = "Dxxx" } Test-iisxTargetResource @has -Verbose set-iisxTargetResource @has -Verbose Configuration xxxxx { Import-DscResource -module admin* Node Localhost { xIISMachineKey DSD { SiteName = "hphsite"; Decryption = "Auto"; Validation = "AES"; ValidationKey = "xxx" DecryptionKey = "Dxxx" } } } xxxxx Start-DscConfiguration .\xxxxx -Verbose -wait -Force |