InlineScriptContext Class
Defines the context information available to scripts running within the InlineScript activity. These are exposed through the $PSActivity automatic variable. This SDK programming element is introduced in Windows PowerShell 3.0.
Namespace: Microsoft.PowerShell.Activities
Assembly: Microsoft.PowerShell.Activities (in Microsoft.PowerShell.Activities.dll)
Namespace: Microsoft.PowerShell.Activities
Assembly: Microsoft.PowerShell.Activities (in Microsoft.PowerShell.Activities.dll)
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 PreviewSend comments about this topic to Microsoft.