Enable-ServerManagerStandardUserRemoting

Enable-ServerManagerStandardUserRemoting

Provides one or more standard, non-Administrator users access to event, service, performance counter, and role and feature inventory data for a server that you are managing by using Administrador de servidores.

Sintaxis

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

Descripción detallada

Provides one or more standard, non-Administrator users access to event, service, performance counter, and role and feature inventory data for a server that you are managing, either locally or remotely, by using Administrador de servidores. The cmdlet must be run locally on the server that you are managing by using Administrador de servidores. The cmdlet works by performing the following actions:

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

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

 ● Changes access rights in the Service Control Manager to allow specified standard users remote access to the status of services on the managed server.

This cmdlet does not provide standard users access to (BPA) results, or allow standard users to run BPA scans. Aside from the preceding list of changes, this cmdlet provides no additional access that a standard user does not already have, by default, on managed servers.

Running this cmdlet has security implications for your network environment, because it grants specified non-Administrator users access rights to information that, by default, is restricted to members of the Administrators group on the local computer. The cmdlet provides access to other WMI providers in the root\cimv2 namespace, but only those providers that can be used by standard users. We recommend that you run this cmdlet only when you must add a specific standard user to the users who require access to remote server data by using Administrador de servidores. Additionally, you should promptly run Disable-ServerManagerStandardUserRemoting to deny this access to users as soon as they no longer require it.

Parámetros

-Force

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-User<String[]>

Specifies the user account name of a standard user who runs Server Manager, and requires access to event, performance counter, service, and role and feature inventory data for remote servers that are managed by using the local Server Manager console.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

Example 1

In the following example, the administrator gives a standard user named JennyL access to event, performance counter, service status, and role and feature inventory data on a server that is being managed, either locally or remotely, by using Administrador de servidores.

PS C:\> Enable-ServerManagerStandardUserRemoting -User JennyL

Example 2

In the following example, the administrator views the outcome of running a command to give a standard user named JennyL access to event, performance counter, service status, and role and feature inventory data on a server that is being managed, either locally or remotely, by using Administrador de servidores. The WhatIf parameter is added, meaning that the command actions are not carried out.

PS C:\> Enable-ServerManagerStandardUserRemoting -User JennyL -WhatIf

Example 3

In the following example, the administrator gives a standard user named JennyL access to event, performance counter, service status, and role and feature inventory data on a server that is being managed, either locally or remotely, by using Administrador de servidores. The Confirm parameter is added, meaning that the command prompts for confirmation before performing the action.

PS C:\> Enable-ServerManagerStandardUserRemoting -User JennyL -Confirm

Temas relacionados

Get-WindowsFeature

Install-WindowsFeature

Uninstall-WindowsFeature

Disable-ServerManagerStandardUserRemoting