Enable-HcsRemoteManagement

Enable-HcsRemoteManagement

Enables remote Windows PowerShell management.

Sintaxis

Parameter Set: Default
Enable-HcsRemoteManagement [-AllowHttp] [-Force] [ <CommonParameters>]

Descripción detallada

The Enable-HcsRemoteManagement cmdlet enables remote Windows PowerShell® management for this device. You can manage remotely by using the SSAdmin console session configuration and the Support session configuration. By default, the cmdlet enables remote management over HTTPS only. Specify the AllowHttp parameter to enable remote management over HTTP as well.

To obtain the required certificate for connecting by using HTTPS, use the Get-HcsRemoteManagementCert cmdlet.

For more information about how to run remote commands in Windows PowerShell, type Get-Help about_Remote.

Parámetros

-AllowHttp

Indicates that the cmdlet enables remote management over HTTP as well as HTTPS.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Force

Fuerza que el comando se ejecute sin pedir confirmación al usuario.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿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.

  • This cmdlet does not generate any output.

Ejemplos

Example 1: Enable remote management

This command enables remote management for this device. You can manage the device by using HTTP or HTTPS.

PS C:\> Enable-HcsRemoteManagement -AllowHttp

Temas relacionados

Disable-HcsRemoteManagement

Get-HcsRemoteManagementCert

about_Remote