< Back
Set-vRNIUserPassword
Post
NAME Set-vRNIUserPassword
SYNOPSIS
Change the password of a local user to Network Insight
SYNTAX
Set-vRNIUserPassword [[-Username] <String>] [[-NewPassword] <String>] [[-Credential] <PSCredential>]
[[-Connection] <PSObject>] [<CommonParameters>]
DESCRIPTION
Local users have a password configured inside Network Insight.
This cmdlet allows admins to set passwords of existing users, and
allow member to set their own passwords.
PARAMETERS
-Username <String>
Username in 'admin@local' format
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-NewPassword <String>
Their new password
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
PSCredential object containing credentials to update
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
vRNI Connection object
Required? false
Position? 4
Default value $defaultvRNIConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-vRNIUserPassword -Username admin@local -NewPassword 'mynewpassword'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-vRNIUserPassword -Username admin@local
PowerShell credential request
Input the new password
Password for user test@local.corp: ********
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>$new_cred = Get-Credential
PowerShell credential request
Enter your credentials.
User: test@local.corp
Password for user test@local.corp: ***********
PS C:\\> Set-vRNIUserPassword -Credentials $new_cred
RELATED LINKS
SYNOPSIS
Change the password of a local user to Network Insight
SYNTAX
Set-vRNIUserPassword [[-Username] <String>] [[-NewPassword] <String>] [[-Credential] <PSCredential>]
[[-Connection] <PSObject>] [<CommonParameters>]
DESCRIPTION
Local users have a password configured inside Network Insight.
This cmdlet allows admins to set passwords of existing users, and
allow member to set their own passwords.
PARAMETERS
-Username <String>
Username in 'admin@local' format
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-NewPassword <String>
Their new password
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
PSCredential object containing credentials to update
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
vRNI Connection object
Required? false
Position? 4
Default value $defaultvRNIConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-vRNIUserPassword -Username admin@local -NewPassword 'mynewpassword'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-vRNIUserPassword -Username admin@local
PowerShell credential request
Input the new password
Password for user test@local.corp: ********
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>$new_cred = Get-Credential
PowerShell credential request
Enter your credentials.
User: test@local.corp
Password for user test@local.corp: ***********
PS C:\\> Set-vRNIUserPassword -Credentials $new_cred
RELATED LINKS