Skip to content

Commit 8f554a2

Browse files
author
Daniele Catanesi
committed
Fixed typo in post
1 parent 875d522 commit 8f554a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_posts/2019-11-07-PowerShell-Create-Credential-Object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To create the *SecureString* object the following syntax is used
4040
Once the SecureString object has been created the *PSCredential* object can be created with the following syntax
4141

4242
```powershell
43-
[pscredential]$credOject = New-Object System.Management.Automation.PSCredential ($userName, $secStringPassword)
43+
[pscredential]$credObject = New-Object System.Management.Automation.PSCredential ($userName, $secStringPassword)
4444
```
4545

4646
The resultant *pscredential* object can be passed to any cmdlet requiring/using the **-PSCredential** parameter.

0 commit comments

Comments
 (0)