Asking for Credentials
PowerTip of the Day, from PowerShell.com: When you write functions that accept credentials as parameters, add a transformation attribute! This way, the user can either submit a credential object (for example, a credential supplied from Get-Credential), or simply a user name as string. The transformation attribute will then convert this string automagically into a… Continue reading Asking for Credentials