< Back
Set-AMCondition
Post
NAME Set-AMCondition
SYNOPSIS
Sets properties of an AutoMate Enterprise condition.
SYNTAX
Set-AMCondition -InputObject <Object> [-Notes <String>] [-CompletionState {InDevelopment | Testing | Production |
Archive}] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-AMCondition -Instance <Object> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set-AMCondition can change properties of a condition object.
PARAMETERS
-InputObject <Object>
The object to modify.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Instance <Object>
The object to save. Use this parameter if the object was modified directly, and not by another function in
this module.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Notes <String>
The new notes to set on the object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CompletionState
The completion state (staging level) to set on the object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
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
The following AutoMate object types can be modified by this function:
Task
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Change notes for a task
Get-AMCondition "Daily at 8AM" | Set-AMCondition -Notes "Starts every day at 8AM"
RELATED LINKS
https://github.com/AutomatePS/AutomatePS
SYNOPSIS
Sets properties of an AutoMate Enterprise condition.
SYNTAX
Set-AMCondition -InputObject <Object> [-Notes <String>] [-CompletionState {InDevelopment | Testing | Production |
Archive}] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-AMCondition -Instance <Object> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set-AMCondition can change properties of a condition object.
PARAMETERS
-InputObject <Object>
The object to modify.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Instance <Object>
The object to save. Use this parameter if the object was modified directly, and not by another function in
this module.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Notes <String>
The new notes to set on the object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CompletionState
The completion state (staging level) to set on the object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
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
The following AutoMate object types can be modified by this function:
Task
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Change notes for a task
Get-AMCondition "Daily at 8AM" | Set-AMCondition -Notes "Starts every day at 8AM"
RELATED LINKS
https://github.com/AutomatePS/AutomatePS