PowerShell Logo Small

Disable-ServerManagerStandardUserRemoting



This is the built-in help made by Microsoft for the command 'Disable-ServerManagerStandardUserRemoting', 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

Disables access for specified standard users to event, service, performance counter, and role and feature inventory data that is collected by Server Manager for a server. This cmdlet performs the opposite action, for specified users, of the Enable-ServerManagerStandardUserRemoting cmdlet.

SYNTAX


Disable-ServerManagerStandardUserRemoting [-User] <String[]> [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Disables access for one or more standard, non-Administrator users to event, service, performance counter, and role and feature inventory data for a server that you are
managing by using Server Manager. The cmdlet restores the default, administrator-only access to this data, and must be run locally on the server that is being managed by
using Server Manager. The cmdlet works by performing the following actions:


● Deletes access rights for specified standard users to the root\cimv2 namespace on the local server (for access to role and feature inventory information).


●Removes specified standard users from user groups (Remote Management Users, Event Log Readers, and Performance Log Readers) that allow remote access to event and
performance counter logs on the local server.


● Removes access rights in the Service Control Manager for specified standard users who have access to the status of services on the local server.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287568
Get-WindowsFeature
Install-WindowsFeature
Uninstall-WindowsFeature
Enable-ServerManagerStandardUserRemoting

REMARKS

<

Examples


Example 1

PS C:\> Disable-ServerManagerStandardUserRemoting -User JennyL



In the following example, the administrator disables access to event, performance counter, service status, and role and feature inventory data for a server that is being
managed by using either a local or remote Server Manager console, and for which there is a standard user named JennyL.




Example 2

PS C:\> Disable-ServerManagerStandardUserRemoting –User JennyL -WhatIf



In the following example, the administrator views the outcome of running a command to deny a standard user named JennyL access to event, performance counter, service status,
and role and feature inventory data for a server that is being managed by using the Server Manager console running on either the local or a remote computer. The WhatIf
parameter is added, meaning that the command actions are not carried out.




Example 3

PS C:\> Disable-ServerManagerStandardUserRemoting –User JennyL -Confirm



In the following example, the administrator denies a standard user named JennyL access to event, performance counter, service status, and role and feature inventory data for
a server that is being managed by using the Server Manager console running on either the local or a remote computer. The Confirm parameter is added, meaning that the command
prompts for confirmation before performing the action.