Skip to content

Instantly share code, notes, and snippets.

View tg2k's full-sized avatar

Todd Gleason tg2k

View GitHub Profile
@tg2k
tg2k / !PowerShell DSC cProcessWithCredentials.md
Last active October 31, 2015 20:05
cProcessWithCredentials DSC resource and supporting modules

2 PowerShell modules (Invoke-CommandWithCredential and Invoke-ScriptBlockWithCredential) for invoking commands using specified credentials. One referenced module (Get-CallerPreference)for propagating verbosity etc. One DSC module (cProcessWithCredentials) for executing a process with credentials.