PowerShell Logo Small

Block-ClusterAccess



This is the built-in help made by Microsoft for the command 'Block-ClusterAccess', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Prevents the specified user or users from accessing a failover cluster.

SYNTAX


Block-ClusterAccess [-User] <StringCollection> [-Cluster <String>] [-InputObject <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Block-ClusterAccess cmdlet prevents the specified user or users from accessing a failover cluster. If you do not want to completely block access and instead want to
limit a user to using Windows PowerShell® to view cluster settings (not change settings), then use the Grant-ClusterAccess cmdlet with the Readonly parameter.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321022
Get-ClusterAccess
Grant-ClusterAccess
Remove-ClusterAccess

REMARKS

<

Examples


Example 1

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



This example prevents the user named johnj99 on the contoso domain from gaining access to the local cluster.