TestimoX

API Reference

Command

Set-CxService

Namespace ComputerX.PowerShell

Implements the Set-CxService cmdlet.

Examples

Authored help example

Example 1


Set-CxService -ComputerName SERVER1
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Set-CxService -Name <string> [-ComputerName <string>] [-StartupType <Unknown|Automatic|Manual|Disabled>] [<CommonParameters>]
#

Parameters

Name string requiredposition: 0pipeline: false
Name identifier for the target resource.
ComputerName string optionalposition: 1pipeline: false
Target computer(s). Use '.' for local computer or provide DNS names.
StartupType ServiceStartupType optionalposition: 2pipeline: falsevalues: 4
Gets or sets the StartupType parameter. Possible values: Unknown, Automatic, Manual, Disabled
Possible values: Unknown, Automatic, Manual, Disabled