Created
June 7, 2017 19:01
-
-
Save carlin-q-scott/673a681a2d89adceac307d171595b4b3 to your computer and use it in GitHub Desktop.
Powershell snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$credential = $Host.ui.PromptForCredential("Need your domain account credentials", "Please enter your domain user name and password", $null, "NetBiosUserName") | |
# use -Credential $credential for some of the powershell commandlets. Copy-Item takes in this param but can't use it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment