Microsoft.PowerShell Namespace

The Microsoft.PowerShell namespace contains the classes used to manage the Windows PowerShell shell, such as the authorization manager and snap-ins that are provided by Windows PowerShell.

ClassDescription
AdapterCodeMethodsProvides the code methods for adapted types in types.ps1xml files. This class is introduced in Windows PowerShell 2.0.
ConsoleShellProvides an entry point that is used to transfer control to the console host.
DeserializingTypeConverterProvides methods that can be used by a converter to determine if a conversion is possible, and provides methods for converting the supplied values. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0.
EngineInstallerInstalls the basic structures of Windows PowerShell into the registry.
PSAuthorizationManagerRepresents the authorization manager provided by Windows PowerShell.
PSCorePSSnapInRepresents the snap-in for the core cmdlets provided by Windows PowerShell.
PSHostPSSnapInRepresents the snap-in for the host cmdlets that are provided by Windows PowerShell.
PSManagementPSSnapInRepresents the snap-in for the management cmdlets provided by Windows PowerShell.
PSSecurityPSSnapInRepresents the snap-in for the security cmdlets provided by Windows PowerShell.
PSUtilityPSSnapInRepresents the snap-in for the utility cmdlets provided by Windows PowerShell.
ToStringCodeMethodsProvides the static methods that are used by Windows PowerShell when extending objects that have code methods that require static methods.
UnmanagedPSEntryDefines an entry point that unmanaged code can use to start the Windows PowerShell runtime. This class cannot be inherited.

EnumerationDescription
ExecutionPolicyDefines the execution policies that the Windows PowerShell runtime can use to run commands.
ExecutionPolicyScopeDefines where Windows PowerShell looks for the execution policy for the current shell. This enumeration is introduced in Windows PowerShell 2.0.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft