< Back

Remove-AMConstant

Sat Jan 11, 2020 3:12 am

NAME Remove-AMConstant



SYNOPSIS

Removes constants from an AutoMate Enterprise agent property.





SYNTAX

Remove-AMConstant [-InputObject] <Object> [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Remove-AMConstant removes constants from an agent property.





PARAMETERS

-InputObject <Object>

The agent property to modify.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Name <String>

The name of the constant.



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:

AgentProperty





OUTPUTS

None





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AMAgent "agent01" | Get-AMObjectProperty | Remove-AMConstant -Name test















RELATED LINKS

https://github.com/AutomatePS/AutomatePS