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
| configuration DSCEARegistryTest1 { | |
| param([string[]]$ComputerName='localhost') | |
| Import-DscResource -ModuleName PSDesiredStateConfiguration | |
| Node $ComputerName { | |
| Registry 'CrashOnAuditFail' { | |
| Ensure = 'Present' | |
| Key = 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa' |
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
| # ******************************************* | |
| # | |
| # Mod by: Jared M. Smith | |
| # Mod on: 2015.04.xx | |
| # Mod y?: Enable or disable Google Chrome updates. | |
| # | |
| # ******************************************* | |
| # Log method | |
| if (! (test-path function:Log)) { function Log { Param([string]$message) Write-Host $message; } } |