Share via


Enable-HcsRemoteManagement

Enable-HcsRemoteManagement

Enables remote Windows PowerShell management.

Syntaxe

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

Description détaillée

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.

Paramètres

-AllowHttp

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

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Force

Force la commande à s’exécuter sans demander confirmation à l’utilisateur.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • This cmdlet does not generate any output.

Exemples

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

Rubriques connexes

Disable-HcsRemoteManagement

Get-HcsRemoteManagementCert

about_Remote