Skip to content

Commit 58eafab

Browse files
Merge pull request MicrosoftDocs#3340 from raynbowbrite/vandapaladino-Issue3325
Corrections to Disable-ServerManagerStandardUserRemoting.md
2 parents 64d40e4 + b734f76 commit 58eafab

File tree

1 file changed

+40
-15
lines changed

1 file changed

+40
-15
lines changed

docset/winserver2022-ps/ServerManager/Disable-ServerManagerStandardUserRemoting.md

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ title: Disable-ServerManagerStandardUserRemoting
1111
# Disable-ServerManagerStandardUserRemoting
1212

1313
## SYNOPSIS
14-
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.
15-
This cmdlet performs the opposite action, for specified users, of the Enable-ServerManagerStandardUserRemoting cmdlet.
14+
15+
Disables access for specified standard users to event, service, performance counter, and role and
16+
feature inventory data that is collected by Server Manager for a server. This cmdlet performs the
17+
opposite action, for specified users, of the `Enable-ServerManagerStandardUserRemoting` cmdlet.
1618

1719
## SYNTAX
1820

@@ -21,40 +23,57 @@ Disable-ServerManagerStandardUserRemoting [-User] <String[]> [-Force] [-WhatIf]
2123
```
2224

2325
## DESCRIPTION
24-
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.
25-
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.
26-
The cmdlet works by performing the following actions:
2726

28-
- Deletes access rights for specified standard users to the root\cimv2 namespace on the local server (for access to role and feature inventory information).
27+
Disables access for one or more standard, non-Administrator users to event, service, performance
28+
counter, and role and feature inventory data for a server that you are managing by using Server
29+
Manager. The cmdlet restores the default, administrator-only access to this data, and must be run
30+
locally on the server that is being managed by using Server Manager. The cmdlet works by performing
31+
the following actions:
32+
33+
- Deletes access rights for specified standard users to the `root\cimv2` namespace on the local server
34+
(for access to role and feature inventory information).
2935

30-
- 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.
36+
- Removes specified standard users from user groups (Remote Management Users, Event Log Readers, and
37+
Performance Log Readers) that allow remote access to event and performance counter logs on the
38+
local server.
3139

32-
- Removes access rights in the Service Control Manager for specified standard users who have access to the status of services on the local server.
40+
- Removes access rights in the Service Control Manager for specified standard users who have access
41+
to the status of services on the local server.
3342

3443
## EXAMPLES
3544

3645
### Example 1
46+
3747
```powershell
3848
Disable-ServerManagerStandardUserRemoting -User JennyL
3949
```
4050

41-
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.
51+
In this example, the administrator disables access to event, performance counter, service
52+
status, and role and feature inventory data for a server that is being managed by using either a
53+
local or remote Server Manager console, and for which there is a standard user named JennyL.
4254

4355
### Example 2
56+
4457
```powershell
4558
Disable-ServerManagerStandardUserRemoting -User JennyL -WhatIf
4659
```
4760

48-
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.
49-
The `WhatIf` parameter is added, meaning that the command actions are not carried out.
61+
In this example, the administrator views the outcome of running a command to deny a standard user
62+
named `JennyL` access to event, performance counter, service status, and role and feature inventory
63+
data for a server that is being managed by using the Server Manager console running on either the
64+
local or a remote computer. The **WhatIf** parameter is added, meaning that the command actions are
65+
not carried out.
5066

5167
### Example 3
68+
5269
```powershell
5370
Disable-ServerManagerStandardUserRemoting -User JennyL -Confirm
5471
```
5572

56-
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.
57-
The `Confirm` parameter is added, meaning that the command prompts for confirmation before performing the action.
73+
In this example, the administrator denies a standard user named `JennyL` access to event, performance
74+
counter, service status, and role and feature inventory data for a server that is being managed by
75+
using the Server Manager console running on either the local or a remote computer. The **Confirm**
76+
parameter is added, meaning that the command prompts for confirmation before performing the action.
5877

5978
## PARAMETERS
6079

@@ -75,7 +94,10 @@ Accept wildcard characters: False
7594
```
7695
7796
### -User
78-
Specifies the user account name of a standard user who runs Server Manager, and no longer requires access to event, performance counter, service, and role and feature inventory data for a server that is being managed by using either a local or remote Server Manager console.
97+
98+
Specifies the user account name of a standard user who runs Server Manager and no longer requires
99+
access to event, performance counter, service, and role and feature inventory data for a server that
100+
is being managed by using either a local or remote Server Manager console.
79101
80102
```yaml
81103
Type: String[]
@@ -90,6 +112,7 @@ Accept wildcard characters: False
90112
```
91113
92114
### -Confirm
115+
93116
Prompts you for confirmation before running the cmdlet.
94117
95118
```yaml
@@ -105,7 +128,8 @@ Accept wildcard characters: False
105128
```
106129
107130
### -WhatIf
108-
Shows what would happen if the cmdlet runs.
131+
132+
Shows what would happen if the cmdlet were run.
109133
The cmdlet is not run.
110134
111135
```yaml
@@ -121,6 +145,7 @@ Accept wildcard characters: False
121145
```
122146
123147
### CommonParameters
148+
124149
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
125150
126151
## INPUTS

0 commit comments

Comments
 (0)