Using Alternate Credentials with WMI and PowerShell – Take 2 [Hyper-V]
Last week I did a post about specifying alternate credentials to use with WMI and PowerShell for controlling Hyper-V. Well – thanks to some tips and tricks given to me by my readers – here is a new an improved version:
# Setup variable for optional commandlet parameters $extraParams = @{} # Setup parameters for prompt to ask if the user wants to... read more













