July 2017
Intermediate to advanced
648 pages
31h 9m
English
To create a credential object, we can use the Get-Credential cmdlet. In this example, we store the credential object in a variable that can be used by the Get-Mailbox cmdlet:
$credential = Get-Credential
Get-Mailbox -Credential $credential
Read now
Unlock full access