pdxcat / PrepDeploy

PowerShell script that removes a computer object from AD and maybe SCCM to prep it for redeployment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modify Parameters to use parameter sets

pfaffle opened this issue · comments

Alter the parameters so they use PowerShell's built-in parameter set functionality, rather than adding manual logic to check if one is passed or the other but not both.
http://blogs.msdn.com/b/powershell/archive/2008/12/23/powershell-v2-parametersets.aspx