Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
RamblingCookieMonster committed Oct 6, 2015
1 parent 808a937 commit 96dc090
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Test-Credential.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
#Test credential for a local account
Test-Credential -ComputerName SomeComputer -Credential $cred
.EXAMPLE
#I provide my AD account credentials for domain2
$cred = get-credential
#Test credential for an active directory account
Test-Credential -Credential $cred -Domain domain2.com
.FUNCTIONALITY
Active Directory
Expand Down

0 comments on commit 96dc090

Please sign in to comment.