Add-VPASEPVGroup


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

CREATE EPV GROUP


Description:

USE THIS FUNCTION TO CREATE AN EPV GROUP IN CYBERARK


Syntax:

Add-VPASEPVGroup [-GroupName] <String> [[-Description] <String>] [[-Location] <String>] [[-token] <Hashtable>] [<CommonParameters>]


Parameters:

-GroupName <String>
Unique target GroupName that will be used to name the EPVGroup

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

-Description <String>
An explanation/details of the target resource
Best practice states to leave informative descriptions to help identify the resource purpose

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

-Location <String>
Define where the new EPV group will be located within the CyberArk directory

Required: false
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:

$VCreateEPVGroupJSON = Add-VPASEPVGroup -GroupName {GROUPNAME VALUE} -Description {DESCRIPTION VALUE} -Location {LOCATION VALUE}


Outputs:

If successful:
{
         "id": 244,
         "groupType": "Vault",
         "members": [
                
         ],
         "groupName": "NewGroup",
         "description": "New group for documentation",
         "location": "\\"
}

$false if failed