< Back
Set-AMAgent
Post
NAME Set-AMAgent
SYNOPSIS
Sets properties of an AutoMate Enterprise agent.
SYNTAX
Set-AMAgent [-InputObject] <Object> [-Notes] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set-AMAgent can change properties of an agent object.
PARAMETERS
-InputObject <Object>
The object to modify.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Notes <String>
The new notes to set on the object.
Required? true
Position? 2
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:
TaskAgent
ProcessAgent
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Change notes for an agent
Get-AMAgent "Agent1" | Set-AMAgent -Notes "Site 1 Agent"
RELATED LINKS
https://github.com/AutomatePS/AutomatePS
SYNOPSIS
Sets properties of an AutoMate Enterprise agent.
SYNTAX
Set-AMAgent [-InputObject] <Object> [-Notes] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set-AMAgent can change properties of an agent object.
PARAMETERS
-InputObject <Object>
The object to modify.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Notes <String>
The new notes to set on the object.
Required? true
Position? 2
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:
TaskAgent
ProcessAgent
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Change notes for an agent
Get-AMAgent "Agent1" | Set-AMAgent -Notes "Site 1 Agent"
RELATED LINKS
https://github.com/AutomatePS/AutomatePS