Skip to content

Commit 01a5550

Browse files
DCtheGeeksdwheeler
authored andcommitted
Fixes #4758 - Remove that a backslash is added for local accounts (#4759)
1 parent cff3ead commit 01a5550

File tree

6 files changed

+12
-18
lines changed

6 files changed

+12
-18
lines changed

reference/3.0/Microsoft.PowerShell.Security/Get-Credential.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,10 @@ computer. It uses the **Credential** parameter to authenticate the user, Domain0
9090
```
9191
PS> $c = Get-Credential -credential User01
9292
PS> $c.Username
93-
\User01
93+
User01
9494
```
9595

96-
This example creates a credential that includes a user name without a domain name. It demonstrates
97-
that Get-Credential inserts a backslash before the user name.
96+
This example creates a credential that includes a user name without a domain name.
9897

9998
The first command gets a credential with the user name User01 and stores it in the $c variable.
10099

reference/4.0/Microsoft.PowerShell.Security/Get-Credential.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,10 @@ computer. It uses the **Credential** parameter to authenticate the user, Domain0
9090
```
9191
PS> $c = Get-Credential -credential User01
9292
PS> $c.Username
93-
\User01
93+
User01
9494
```
9595

96-
This example creates a credential that includes a user name without a domain name. It demonstrates
97-
that Get-Credential inserts a backslash before the user name.
96+
This example creates a credential that includes a user name without a domain name.
9897

9998
The first command gets a credential with the user name User01 and stores it in the $c variable.
10099

reference/5.0/Microsoft.PowerShell.Security/Get-Credential.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,10 @@ computer. It uses the **Credential** parameter to authenticate the user, Domain0
8989
```
9090
PS> $c = Get-Credential -credential User01
9191
PS> $c.Username
92-
\User01
92+
User01
9393
```
9494

95-
This example creates a credential that includes a user name without a domain name. It demonstrates
96-
that Get-Credential inserts a backslash before the user name.
95+
This example creates a credential that includes a user name without a domain name.
9796

9897
The first command gets a credential with the user name User01 and stores it in the $c variable.
9998

reference/5.1/Microsoft.PowerShell.Security/Get-Credential.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,10 @@ computer. It uses the **Credential** parameter to authenticate the user, Domain0
9191
```
9292
PS> $c = Get-Credential -credential User01
9393
PS> $c.Username
94-
\User01
94+
User01
9595
```
9696

97-
This example creates a credential that includes a user name without a domain name. It demonstrates
98-
that Get-Credential inserts a backslash before the user name.
97+
This example creates a credential that includes a user name without a domain name.
9998

10099
The first command gets a credential with the user name User01 and stores it in the $c variable.
101100

reference/6/Microsoft.PowerShell.Security/Get-Credential.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,10 @@ computer. It uses the **Credential** parameter to authenticate the user, Domain0
9090
```
9191
PS> $c = Get-Credential -credential User01
9292
PS> $c.Username
93-
\User01
93+
User01
9494
```
9595

96-
This example creates a credential that includes a user name without a domain name. It demonstrates
97-
that Get-Credential inserts a backslash before the user name.
96+
This example creates a credential that includes a user name without a domain name.
9897

9998
The first command gets a credential with the user name User01 and stores it in the $c variable.
10099

reference/7/Microsoft.PowerShell.Security/Get-Credential.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,10 @@ computer. It uses the **Credential** parameter to authenticate the user, Domain0
9090
```
9191
PS> $c = Get-Credential -credential User01
9292
PS> $c.Username
93-
\User01
93+
User01
9494
```
9595

96-
This example creates a credential that includes a user name without a domain name. It demonstrates
97-
that Get-Credential inserts a backslash before the user name.
96+
This example creates a credential that includes a user name without a domain name.
9897

9998
The first command gets a credential with the user name User01 and stores it in the $c variable.
10099

0 commit comments

Comments
 (0)