NewServiceCommand (class)

This type is found in the namespace Microsoft.PowerShell.Commands

mget_NameString
mset_NameVoid
mget_BinaryPathNameString
mset_BinaryPathNameVoid
mget_DisplayNameString
mset_DisplayNameVoid
mget_DescriptionString
mset_DescriptionVoid
mget_StartupTypeServiceStartMode
mset_StartupTypeVoid
mget_CredentialPSCredential
mset_CredentialVoid
mget_DependsOnString[]
mset_DependsOnVoid
mget_StoppingBoolean
mget_CommandRuntimeICommandRuntime
mset_CommandRuntimeVoid
mWriteErrorVoid
mWriteObjectVoid
mWriteObjectVoid
mWriteVerboseVoid
mWriteWarningVoid
mWriteCommandDetailVoid
mWriteProgressVoid
mWriteDebugVoid
mWriteInformationVoid
mWriteInformationVoid
mShouldProcessBoolean
mShouldProcessBoolean
mShouldProcessBoolean
mShouldProcessBoolean
mShouldContinueBoolean
mShouldContinueBoolean
mShouldContinueBoolean
mTransactionAvailableBoolean
mget_CurrentPSTransactionPSTransactionContext
mThrowTerminatingErrorVoid
mGetResourceStringString
mInvokeIEnumerable
mInvoke
mget_CommandOriginCommandOrigin
mEqualsBoolean
mGetHashCodeInt32
mGetTypeType
mToStringString
c.ctor
pNameString
pBinaryPathNameString
pDisplayNameString
pDescriptionString
pStartupTypeServiceStartMode
pCredentialPSCredential
pDependsOnString[]
pStoppingBoolean
pCommandRuntimeICommandRuntime
pCurrentPSTransactionPSTransactionContext
pCommandOriginCommandOrigin

get_Name

set_Name

.

get_BinaryPathName

valueSystem.String

set_BinaryPathName

.

get_DisplayName

valueSystem.String

set_DisplayName

.

get_Description

valueSystem.String

set_Description

.

get_StartupType

valueSystem.String

set_StartupType

.

get_Credential

valueSystem.ServiceProcess.ServiceStartMode

set_Credential

.

get_DependsOn

valueSystem.Management.Automation.PSCredential

set_DependsOn

.

get_Stopping

valueSystem.String[]

get_CommandRuntime

.

set_CommandRuntime

.

WriteError

valueSystem.Management.Automation.ICommandRuntime

WriteObject

errorRecordSystem.Management.Automation.ErrorRecord

WriteObject

sendToPipelineSystem.Object

WriteVerbose

sendToPipelineSystem.Object
enumerateCollectionSystem.Boolean

WriteWarning

textSystem.String

WriteCommandDetail

textSystem.String

WriteProgress

textSystem.String

WriteDebug

progressRecordSystem.Management.Automation.ProgressRecord

WriteInformation

textSystem.String

WriteInformation

messageDataSystem.Object
tagsSystem.String[]

ShouldProcess

informationRecordSystem.Management.Automation.InformationRecord

ShouldProcess

targetSystem.String

ShouldProcess

targetSystem.String
actionSystem.String

ShouldProcess

verboseDescriptionSystem.String
verboseWarningSystem.String
captionSystem.String

ShouldContinue

verboseDescriptionSystem.String
verboseWarningSystem.String
captionSystem.String
shouldProcessReasonSystem.Management.Automation.ShouldProcessReason&

ShouldContinue

querySystem.String
captionSystem.String

ShouldContinue

querySystem.String
captionSystem.String
yesToAllSystem.Boolean&
noToAllSystem.Boolean&

TransactionAvailable

querySystem.String
captionSystem.String
hasSecurityImpactSystem.Boolean
yesToAllSystem.Boolean&
noToAllSystem.Boolean&

get_CurrentPSTransaction

.

ThrowTerminatingError

.

GetResourceString

errorRecordSystem.Management.Automation.ErrorRecord

Invoke

baseNameSystem.String
resourceIdSystem.String

Invoke

.

get_CommandOrigin

.

Equals

.

GetHashCode

objSystem.Object

GetType

.

ToString

.

.ctor

.

Name

.

BinaryPathName

.

DisplayName

.

Description

.

StartupType

.

Credential

.

DependsOn

.

Stopping

.

CommandRuntime

.

CurrentPSTransaction

.

CommandOrigin

.
.