Export (0) Print
Expand All

EnvironmentProvider Class

Represents the implementation of the Environment provider that is provided by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.


Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As EnvironmentProvider

[CmdletProviderAttribute("Environment", ProviderCapabilities.ShouldProcess)] 
public sealed class EnvironmentProvider : SessionStateProviderBase
/** @attribute CmdletProviderAttribute("Environment", ProviderCapabilities.ShouldProcess) */ 
public final class EnvironmentProvider extends SessionStateProviderBase
CmdletProviderAttribute("Environment", ProviderCapabilities.ShouldProcess) 
public final class EnvironmentProvider extends SessionStateProviderBase

Cmdlets use the Environment provider to access Microsoft Windows environment variables. For Help at the command line, type:

get-help about_provider


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

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