< Back
Maintenance
Post
NAME Maintenance
SYNOPSIS
Autonance DSL maintenance container.
SYNTAX
Maintenance [-Name] <String> [-ScriptBlock] <ScriptBlock> [-Credential <PSCredential>] [-NoHeader] [-NoOutput]
[<CommonParameters>]
DESCRIPTION
The Maintenance container is part of the Autonance domain-specific language
(DSL) and is used to define a maintenance container block. The maintenance
container block is always the topmost block and contains all sub containers
and maintenance tasks.
PARAMETERS
-Name <String>
Name of the maintenance.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ScriptBlock <ScriptBlock>
Script block containing the maintenance tasks.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Optionally parameters to use for all maintenance tasks.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-NoHeader [<SwitchParameter>]
Hide autonance header.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-NoOutput [<SwitchParameter>]
Hide autonance output.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author : Claudio Spizzi
License : MIT License
RELATED LINKS
https://github.com/claudiospizzi/Autonance
SYNOPSIS
Autonance DSL maintenance container.
SYNTAX
Maintenance [-Name] <String> [-ScriptBlock] <ScriptBlock> [-Credential <PSCredential>] [-NoHeader] [-NoOutput]
[<CommonParameters>]
DESCRIPTION
The Maintenance container is part of the Autonance domain-specific language
(DSL) and is used to define a maintenance container block. The maintenance
container block is always the topmost block and contains all sub containers
and maintenance tasks.
PARAMETERS
-Name <String>
Name of the maintenance.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ScriptBlock <ScriptBlock>
Script block containing the maintenance tasks.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Optionally parameters to use for all maintenance tasks.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-NoHeader [<SwitchParameter>]
Hide autonance header.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-NoOutput [<SwitchParameter>]
Hide autonance output.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author : Claudio Spizzi
License : MIT License
RELATED LINKS
https://github.com/claudiospizzi/Autonance