mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Add alias for Service 'StartType' (#9940)
This commit is contained in:
1 parent
71ec44dccf
commit
df672de696
1 file changed
+2
-1
@@ -1544,13 +1544,14 @@ namespace Microsoft.PowerShell.Commands
|
||||
|
||||
/// <summary>
|
||||
/// The following is the definition of the input parameter "StartupType".
|
||||
/// "Set-Service -StartType" sets ServiceController.InputObject.StartType.
|
||||
/// Changes the starting mode of the service. Valid values for StartupType are:
|
||||
/// -- Automatic: Start when the system starts.
|
||||
/// -- Manual : Starts only when started by a user or program.
|
||||
/// -- Disabled : Can.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
[Alias("StartMode", "SM", "ST")]
|
||||
[Alias("StartMode", "SM", "ST", "StartType")]
|
||||
[ValidateNotNullOrEmpty]
|
||||
public ServiceStartupType StartupType
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user