Export (0) Print
Expand All
Expand Minimize

Remove-ClusterAccess

Updated: August 15, 2012

Applies To: Windows Server 2012

Remove-ClusterAccess

Removes a user from the access list on the cluster.

Syntax

Parameter Set: InputObject
Remove-ClusterAccess [[-User] <StringCollection> ] [-Cluster <String> ] [-InputObject <PSObject> ] [ <CommonParameters>]




Detailed Description

The Remove-ClusterAccess cmdlet removes a user from the access list on the cluster. After this cmdlet is run, the user might still have access to the cluster if the user account is part of another user group which is on the cluster access list.

Parameters

-Cluster<String>

Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<PSObject>

Specifies the cluster from which to remove access for the given user.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-User<StringCollection>

Specifies the user for which to remove cluster access.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Examples

Example 1

This example removes the user johnj99 in the contoso domain from the access list of the local cluster. After this cmdlet runs, the user might still have access to the cluster if the user is part of another user group granted access to the cluster.


PS C:\> Remove-ClusterAccess –User contoso\johnj99

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft