File tree Expand file tree Collapse file tree 4 files changed +28
-16
lines changed
7.2/Microsoft.PowerShell.Security
7.3/Microsoft.PowerShell.Security
7.4/Microsoft.PowerShell.Security
7.5/Microsoft.PowerShell.Security Expand file tree Collapse file tree 4 files changed +28
-16
lines changed Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Security.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Security
5- ms.date : 12/12/2022
5+ ms.date : 02/26/2024
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.security/get-credential?view=powershell-7.2&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : Get-Credential
@@ -33,7 +33,10 @@ The `Get-Credential` cmdlet creates a credential object for a specified user nam
3333can use the credential object in security operations.
3434
3535The ` Get-Credential ` cmdlet prompts the user for a password or a user name and password. You can use
36- the ** Message** parameter to specify a customized message in the command line prompt.
36+ the ** Message** parameter to specify a customized message for the prompt.
37+
38+ In Windows PowerShell 5.1 and earlier, Windows presents a dialog box to prompt for a user name and
39+ password. In PowerShell 6.0 and later, the prompt is presented in the console for all platforms.
3740
3841## EXAMPLES
3942
@@ -130,8 +133,8 @@ Invoke-Command -ComputerName Server01 {Get-Credential Domain01\User02}
130133
131134``` Output
132135PowerShell Credential Request : PowerShell Credential Request
133- Warning: This credential is being requested by a script or application on the SERVER01 remote computer. Enter your credentials only if you
134- trust the remote computer and the application or script requesting it.
136+ Warning: This credential is being requested by a script or application on the SERVER01 remote computer.
137+ Enter your credentials only if you trust the remote computer and the application or script requesting it.
135138
136139Enter your credentials.
137140Password for user Domain01\User02: ***************
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Security.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Security
5- ms.date : 12/12/2022
5+ ms.date : 02/26/2024
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.security/get-credential?view=powershell-7.3&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : Get-Credential
@@ -33,7 +33,10 @@ The `Get-Credential` cmdlet creates a credential object for a specified user nam
3333can use the credential object in security operations.
3434
3535The ` Get-Credential ` cmdlet prompts the user for a password or a user name and password. You can use
36- the ** Message** parameter to specify a customized message in the command line prompt.
36+ the ** Message** parameter to specify a customized message for the prompt.
37+
38+ In Windows PowerShell 5.1 and earlier, Windows presents a dialog box to prompt for a user name and
39+ password. In PowerShell 6.0 and later, the prompt is presented in the console for all platforms.
3740
3841## EXAMPLES
3942
@@ -130,8 +133,8 @@ Invoke-Command -ComputerName Server01 {Get-Credential Domain01\User02}
130133
131134``` Output
132135PowerShell Credential Request : PowerShell Credential Request
133- Warning: This credential is being requested by a script or application on the SERVER01 remote computer. Enter your credentials only if you
134- trust the remote computer and the application or script requesting it.
136+ Warning: This credential is being requested by a script or application on the SERVER01 remote computer.
137+ Enter your credentials only if you trust the remote computer and the application or script requesting it.
135138
136139Enter your credentials.
137140Password for user Domain01\User02: ***************
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Security.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Security
5- ms.date : 12/12/2022
5+ ms.date : 02/26/2024
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.security/get-credential?view=powershell-7.4&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : Get-Credential
@@ -33,7 +33,10 @@ The `Get-Credential` cmdlet creates a credential object for a specified user nam
3333can use the credential object in security operations.
3434
3535The ` Get-Credential ` cmdlet prompts the user for a password or a user name and password. You can use
36- the ** Message** parameter to specify a customized message in the command line prompt.
36+ the ** Message** parameter to specify a customized message for the prompt.
37+
38+ In Windows PowerShell 5.1 and earlier, Windows presents a dialog box to prompt for a user name and
39+ password. In PowerShell 6.0 and later, the prompt is presented in the console for all platforms.
3740
3841## EXAMPLES
3942
@@ -130,8 +133,8 @@ Invoke-Command -ComputerName Server01 {Get-Credential Domain01\User02}
130133
131134``` Output
132135PowerShell Credential Request : PowerShell Credential Request
133- Warning: This credential is being requested by a script or application on the SERVER01 remote computer. Enter your credentials only if you
134- trust the remote computer and the application or script requesting it.
136+ Warning: This credential is being requested by a script or application on the SERVER01 remote computer.
137+ Enter your credentials only if you trust the remote computer and the application or script requesting it.
135138
136139Enter your credentials.
137140Password for user Domain01\User02: ***************
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Security.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Security
5- ms.date : 12/12/2022
5+ ms.date : 02/26/2024
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.security/get-credential?view=powershell-7.5&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : Get-Credential
@@ -33,7 +33,10 @@ The `Get-Credential` cmdlet creates a credential object for a specified user nam
3333can use the credential object in security operations.
3434
3535The ` Get-Credential ` cmdlet prompts the user for a password or a user name and password. You can use
36- the ** Message** parameter to specify a customized message in the command line prompt.
36+ the ** Message** parameter to specify a customized message for the prompt.
37+
38+ In Windows PowerShell 5.1 and earlier, Windows presents a dialog box to prompt for a user name and
39+ password. In PowerShell 6.0 and later, the prompt is presented in the console for all platforms.
3740
3841## EXAMPLES
3942
@@ -130,8 +133,8 @@ Invoke-Command -ComputerName Server01 {Get-Credential Domain01\User02}
130133
131134``` Output
132135PowerShell Credential Request : PowerShell Credential Request
133- Warning: This credential is being requested by a script or application on the SERVER01 remote computer. Enter your credentials only if you
134- trust the remote computer and the application or script requesting it.
136+ Warning: This credential is being requested by a script or application on the SERVER01 remote computer.
137+ Enter your credentials only if you trust the remote computer and the application or script requesting it.
135138
136139Enter your credentials.
137140Password for user Domain01\User02: ***************
You can’t perform that action at this time.
0 commit comments