< Back
Set-LocalUser
Post
NAME Set-LocalUser
SYNOPSIS
Updates a local user account in the Targeted computername
SYNTAX
Set-LocalUser [-Name] <String[]> [[-Computername] <String[]>] [[-Password] <Array>] [[-Description] <String[]>]
[[-Fullname] <String[]>] [<CommonParameters>]
DESCRIPTION
Updates a local user account in the Targeted computername
PARAMETERS
-Name <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Computername <String[]>
Required? false
Position? 2
Default value "$Env:computername"
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Password <Array>
Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Description <String[]>
Required? false
Position? 4
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Fullname <String[]>
Required? false
Position? 5
Default value
Accept pipeline input? true (ByPropertyName)
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
System.Int32
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-Localuser -Name TestUser1 -Computername RemotePC1 -Password 'password123' -Description 'A new User'
RELATED LINKS
SYNOPSIS
Updates a local user account in the Targeted computername
SYNTAX
Set-LocalUser [-Name] <String[]> [[-Computername] <String[]>] [[-Password] <Array>] [[-Description] <String[]>]
[[-Fullname] <String[]>] [<CommonParameters>]
DESCRIPTION
Updates a local user account in the Targeted computername
PARAMETERS
-Name <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Computername <String[]>
Required? false
Position? 2
Default value "$Env:computername"
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Password <Array>
Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Description <String[]>
Required? false
Position? 4
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Fullname <String[]>
Required? false
Position? 5
Default value
Accept pipeline input? true (ByPropertyName)
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
System.Int32
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-Localuser -Name TestUser1 -Computername RemotePC1 -Password 'password123' -Description 'A new User'
RELATED LINKS