GetService Class

Activity to invoke the Microsoft.PowerShell.Management\Get-Service command in a workflow. Introduced in Windows PowerShell 3.0.


Namespace: Microsoft.PowerShell.Management.Activities
Assembly: Microsoft.PowerShell.Management.Activities (in Microsoft.PowerShell.Management.Activities.dll)

'Usage
Dim instance As GetService

[GeneratedCodeAttribute("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")] 
public sealed class GetService : PSRemotingActivity
/** @attribute GeneratedCodeAttribute("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0") */ 
public final class GetService extends PSRemotingActivity
GeneratedCodeAttribute("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0") 
public final class GetService extends PSRemotingActivity

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


Show:
© 2015 Microsoft