< Back

Set-AMUserGroup

Sat Jan 11, 2020 3:37 am

NAME Set-AMUserGroup



SYNOPSIS

Sets properties of an AutoMate Enterprise user group.





SYNTAX

Set-AMUserGroup [-InputObject] <Object> [-Notes] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Set-AMUserGroup can change properties of a user group object.





PARAMETERS

-InputObject <Object>

The user group 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:

UserGroup





OUTPUTS



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



PS C:\\># Changes notes for a single user group



Get-AMUserGroup "Users" | Set-AMUserGroup -Notes "Group containing all users"









-------------------------- EXAMPLE 2 --------------------------



PS C:\\># Empty notes for all user groups



Get-AMUserGroup | Set-AMUserGroup -Notes ""











RELATED LINKS

https://github.com/AutomatePS/AutomatePS