1
Vote

redesign functions

description

redesigned a couple of functions to take full benefit of powershell V2

file attachments

comments

StijnC wrote Oct 25, 2010 at 10:35 AM

Changed the evaluation of the credential parameter.
Typecasted the credential parameter to System.Management.Automation.PSCredential
Changed the assignment of the computername parameter to $env:Computername
Simplified the Get-CMObject funtion

wrote Feb 13, 2013 at 11:13 PM