Add-VPASAccountGroup


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

ADD ACCOUNT GROUP


Description:

USE THIS FUNCTION TO ADD ACCOUNT GROUP


Syntax:

Add-VPASAccountGroup [-GroupName] <String> [-GroupPlatformID] <String> [-Safe] <String> [[-token] <Hashtable>] [<CommonParameters>]


Parameters:

-GroupName <String>
Unique target GroupName for the account group
An account group is set of accounts that will have the same password synced across the entire group

Required: true
Position: 1
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-GroupPlatformID <String>
Unique ID that maps to the target GroupPlatform
Supply GroupPlatformID to skip any querying for target GroupPlatform

Required: true
Position: 2
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-Safe <String>
Target unique safe name

Required: true
Position: 3
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-token <Hashtable>
HashTable of data containing various pieces of login information (PVWA, LoginToken, HeaderType, etc).
If -token is not passed, function will use last known hashtable generated by New-VPASToken

Required: false
Position: 4
Default value:
Accept pipeline input: true (ByPropertyName)
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)


Examples:

$AddAccountGroupStatus = Add-VPASAccountGroup -GroupName {GROUPNAME VALUE} -GroupPlatformID {GROUPPLATFORMID VALUE} -Safe {SAFE VALUE}


Outputs:

$true if successful

$false if failed