Disable-ServerManagerStandardUserRemoting

Windows Server 2012 R2 and Windows 8.1

Disable-ServerManagerStandardUserRemoting

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

구문

Parameter Set: Default
Disable-ServerManagerStandardUserRemoting [-User] <String[]> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]




자세한 설명

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 서버 관리자. 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 서버 관리자. 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.

매개 변수

-Force

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-User<String[]>

Specifies the user account name of a standard user who runs 서버 관리자, 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 서버 관리자 console.


별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Confirm

cmdlet을 실행하기 전에 확인 메시지가 표시됩니다.


필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-WhatIf

cmdlet이 실행될 경우 결과 동작을 표시합니다. cmdlet이 실행되지 않습니다.


필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(http://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

예제

Example 1

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 서버 관리자 console, and for which there is a standard user named JennyL.


PS C:\> Disable-ServerManagerStandardUserRemoting -User JennyL

Example 2

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.


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

Example 3

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.


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

관련 항목

커뮤니티 추가 항목

추가
표시: