|
207 | 207 | </maml:description> |
208 | 208 | </command:details> |
209 | 209 | <maml:description> |
210 | | - <maml:para>Use this function to perform maintenance on a single host, defined in the hosts configuration file. If you use an orchestration/configuration management system, you might want to execute this function from there.</maml:para> |
| 210 | + <maml:para>Use this function to perform maintenance on a single host, defined in the hosts configuration file. If you use an orchestration/configuration management system, you might prefer it over Invoke-InfrastructureMaintenance to run Invoke-ComputerMaintenance .</maml:para> |
211 | 211 | </maml:description> |
212 | 212 | <command:syntax> |
213 | 213 | <command:syntaxItem> |
|
248 | 248 | </dev:type> |
249 | 249 | <dev:defaultValue>None</dev:defaultValue> |
250 | 250 | </command:parameter> |
| 251 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 252 | + <maml:name>SkipNotLockable</maml:name> |
| 253 | + <maml:Description> |
| 254 | + <maml:para>Defines if the maintenance process should silently skip a host if the function cannot put a host lock on it. Otherwise the function will raise an exception.</maml:para> |
| 255 | + </maml:Description> |
| 256 | + <dev:type> |
| 257 | + <maml:name>SwitchParameter</maml:name> |
| 258 | + <maml:uri /> |
| 259 | + </dev:type> |
| 260 | + <dev:defaultValue>False</dev:defaultValue> |
| 261 | + </command:parameter> |
| 262 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 263 | + <maml:name>SkipPreventivelyLocked</maml:name> |
| 264 | + <maml:Description> |
| 265 | + <maml:para>Defines if the maintenance process should silently skip a host if it is locked by some other function. Otherwise the function will raise an exception.</maml:para> |
| 266 | + </maml:Description> |
| 267 | + <dev:type> |
| 268 | + <maml:name>SwitchParameter</maml:name> |
| 269 | + <maml:uri /> |
| 270 | + </dev:type> |
| 271 | + <dev:defaultValue>False</dev:defaultValue> |
| 272 | + </command:parameter> |
251 | 273 | </command:syntaxItem> |
252 | 274 | </command:syntax> |
253 | 275 | <command:parameters> |
|
287 | 309 | </dev:type> |
288 | 310 | <dev:defaultValue>None</dev:defaultValue> |
289 | 311 | </command:parameter> |
| 312 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 313 | + <maml:name>SkipNotLockable</maml:name> |
| 314 | + <maml:Description> |
| 315 | + <maml:para>Defines if the maintenance process should silently skip a host if the function cannot put a host lock on it. Otherwise the function will raise an exception.</maml:para> |
| 316 | + </maml:Description> |
| 317 | + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> |
| 318 | + <dev:type> |
| 319 | + <maml:name>SwitchParameter</maml:name> |
| 320 | + <maml:uri /> |
| 321 | + </dev:type> |
| 322 | + <dev:defaultValue>False</dev:defaultValue> |
| 323 | + </command:parameter> |
| 324 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 325 | + <maml:name>SkipPreventivelyLocked</maml:name> |
| 326 | + <maml:Description> |
| 327 | + <maml:para>Defines if the maintenance process should silently skip a host if it is locked by some other function. Otherwise the function will raise an exception.</maml:para> |
| 328 | + </maml:Description> |
| 329 | + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> |
| 330 | + <dev:type> |
| 331 | + <maml:name>SwitchParameter</maml:name> |
| 332 | + <maml:uri /> |
| 333 | + </dev:type> |
| 334 | + <dev:defaultValue>False</dev:defaultValue> |
| 335 | + </command:parameter> |
290 | 336 | </command:parameters> |
291 | 337 | <command:inputTypes> |
292 | 338 | <command:inputType> |
|
341 | 387 | </maml:description> |
342 | 388 | </command:details> |
343 | 389 | <maml:description> |
344 | | - <maml:para>The function performs maintenance on all hosts defined in the hosts configuration files, one by one. Its main purpose is to be executed from Task Scheduler. We do not recommend to execute this function from an orchestration/configuration management system (Ansible, Chef, System Center Orchestrator etc.) - use `Invoke-ComputerMaintenance` for that.</maml:para> |
| 390 | + <maml:para>The function performs maintenance on all hosts defined in the hosts configuration files, one by one. Its main purpose is to be executed from Task Scheduler. We do not recommend to execute this function from an orchestration/configuration management system (Ansible, Chef, System Center Orchestrator etc.) - use Invoke-ComputerMaintenance for that.</maml:para> |
345 | 391 | </maml:description> |
346 | 392 | <command:syntax> |
347 | 393 | <command:syntaxItem> |
|
393 | 439 | </dev:type> |
394 | 440 | <dev:defaultValue>False</dev:defaultValue> |
395 | 441 | </command:parameter> |
| 442 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 443 | + <maml:name>FailOnPreviousFailure</maml:name> |
| 444 | + <maml:Description> |
| 445 | + <maml:para>Defines if the maintenance process should not start when an error log exists.</maml:para> |
| 446 | + </maml:Description> |
| 447 | + <dev:type> |
| 448 | + <maml:name>SwitchParameter</maml:name> |
| 449 | + <maml:uri /> |
| 450 | + </dev:type> |
| 451 | + <dev:defaultValue>False</dev:defaultValue> |
| 452 | + </command:parameter> |
396 | 453 | </command:syntaxItem> |
397 | 454 | </command:syntax> |
398 | 455 | <command:parameters> |
|
444 | 501 | </dev:type> |
445 | 502 | <dev:defaultValue>None</dev:defaultValue> |
446 | 503 | </command:parameter> |
| 504 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 505 | + <maml:name>FailOnPreviousFailure</maml:name> |
| 506 | + <maml:Description> |
| 507 | + <maml:para>Defines if the maintenance process should not start when an error log exists.</maml:para> |
| 508 | + </maml:Description> |
| 509 | + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> |
| 510 | + <dev:type> |
| 511 | + <maml:name>SwitchParameter</maml:name> |
| 512 | + <maml:uri /> |
| 513 | + </dev:type> |
| 514 | + <dev:defaultValue>False</dev:defaultValue> |
| 515 | + </command:parameter> |
447 | 516 | </command:parameters> |
448 | 517 | <command:inputTypes> |
449 | 518 | <command:inputType> |
|
0 commit comments