Compartir a través de


User.RemotePowerShellEnabled Property

Gets or sets a value that indicates whether the user can use Remote PowerShell.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property RemotePowerShellEnabled As Boolean
    Get
    Set
'Usage
Dim instance As User
Dim value As Boolean

value = instance.RemotePowerShellEnabled

instance.RemotePowerShellEnabled = value
[ParameterAttribute(Mandatory = false)]
public bool RemotePowerShellEnabled { get; set; }

Property Value

Type: System.Boolean
true if the user can use Remote PowerShell; otherwise, false.

Remarks

The default value depends on the management role groups assigned to the user.