< Back

Clear-UserRight

Wed Jan 15, 2020 2:29 am

NAME Clear-UserRight



SYNOPSIS

Clears the accounts from the specified user right.





SYNTAX

Clear-UserRight [-Name] <String[]> [<CommonParameters>]





DESCRIPTION

Clears the accounts from the specified user right.





PARAMETERS

-Name <String[]>

The name of the user right to clear.



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue, 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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Clear-UserRight 'Log on as a batch job'



Clear the SeBatchLogonRight right.











RELATED LINKS