Share via


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
Public Property RemotePowerShellEnabled As Boolean
    Get
    Set
'Usage
Dim instance As User
Dim value As Boolean

value = instance.RemotePowerShellEnabled

instance.RemotePowerShellEnabled = value
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.

See also

Reference

User class

User members

Microsoft.Exchange.Data.Directory.Management namespace