MDM_Policy_Config01_WindowsPowerShell02 class

The MDM_Policy_Config01_WindowsPowerShell02 class configures the Windows PowerShell policies.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[InPartition("local-system", "local-user"), dynamic, provider("DMWmiBridgeProv")]
class MDM_Policy_Config01_WindowsPowerShell02
{
  string InstanceID;
  string ParentID;
  string TurnOnPowerShellScriptBlockLogging;
};

Members

The MDM_Policy_Config01_WindowsPowerShell02 class has these types of members:

  • Properties

Properties

The MDM_Policy_Config01_WindowsPowerShell02 class has these properties.

InstanceID

Data type: string

Access type: Read-only

Qualifiers: key

ParentID

Data type: string

Access type: Read-only

Qualifiers: key

TurnOnPowerShellScriptBlockLogging

Data type: string

Access type: Read/write

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

None supported

Namespace

Root\cimv2\mdm\dmmap

MOF

DMWmiBridgeProv.mof

DLL

DMWmiBridgeProv.dll