NewServiceCommand Properties

  Name Description
public property BinaryPathName Gets and sets the value of the BinaryPathName parameter of the New-Service cmdlet.
public property CommandOrigin  Gets the origin of the command. The command can be invoked within a runspace or it could be an external request (such as invoking the command from the command line). This property is introduced in Windows PowerShell 2.0. (Inherited from InternalCommand)
public property CommandRuntime  Gets and sets the command runtime object that controls what happens when the cmdlet writes an object to the pipeline. (Inherited from Cmdlet)
public property Credential Gets and sets the value of the Credential parameter of the New-Service cmdlet.
public property CurrentPSTransaction  Gets the latest transaction started by running the Start-Transaction cmdlet. This property is introduced in Windows PowerShell 2.0. (Inherited from Cmdlet)
public property DependsOn Gets and sets the value of the DependsOn parameter of the New-Service cmdlet.
public property Description Gets and sets the value of the Description parameter of the New-Service cmdlet.
public property DisplayName Gets and sets the value of the DisplayName parameter of the New-Service cmdlet.
public property Name Gets and sets the value of the Name parameter of the New-Service cmdlet.
public property StartupType Gets and sets the value of the StartupType parameter of the New-Service cmdlet.
public property Stopping  Gets an indicator that the pipeline is stopping. The pipeline can be stopped for numerous reasons, such as when the user has entered the key combination CTRL+C, a terminating error has occurred, the hosting application requested a stop, and so on.  (Inherited from Cmdlet)


Show:
© 2014 Microsoft