You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sets the ScreenConnect service start mode to automatic, if it exists and has its start mode is not automatic.
73
+
33
74
## PARAMETERS
34
75
35
-
### -Service
76
+
### -Name
36
77
37
-
Specify the service object to retrieve the startup mode for.
78
+
Specifies the service name of the service to retrieve the start mode for.
38
79
39
80
```yaml
40
-
Type: ServiceController
41
-
Parameter Sets: (All)
81
+
Type: String
82
+
Parameter Sets: Name
42
83
Aliases:
43
84
44
85
Required: True
45
-
Position: 1
86
+
Position: Named
46
87
Default value: None
47
88
Accept pipeline input: False
48
89
Accept wildcard characters: False
49
90
```
50
91
92
+
### -DisplayName
93
+
94
+
Specifies the display name of the service to retrieve the start mode for.
95
+
96
+
```yaml
97
+
Type: String
98
+
Parameter Sets: DisplayName
99
+
Aliases:
100
+
101
+
Required: True
102
+
Position: Named
103
+
Default value: None
104
+
Accept pipeline input: False
105
+
Accept wildcard characters: False
106
+
```
107
+
108
+
### -InputObject
109
+
110
+
Specify the `ServiceController` object to retrieve the start mode for.
111
+
112
+
```yaml
113
+
Type: ServiceController
114
+
Parameter Sets: InputObject
115
+
Aliases: Service
116
+
117
+
Required: True
118
+
Position: Named
119
+
Default value: None
120
+
Accept pipeline input: True (ByValue)
121
+
Accept wildcard characters: False
122
+
```
123
+
51
124
### CommonParameters
52
125
53
126
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
54
127
55
128
## INPUTS
56
129
57
-
### None
130
+
### System.ServiceProcess.ServiceController
58
131
59
-
### You cannot pipe objects to this function.
132
+
### You can pipe `ServiceController` objects to this function.
0 commit comments