Add-VPASMemberEPVGroup


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

ADD MEMBER TO EPV GROUP


Description:

USE THIS FUNCTION TO ADD A MEMBER TO AN EPV GROUP


Syntax:

Add-VPASMemberEPVGroup [-GroupLookupBy] <String> [-GroupLookupVal] <String> [-EPVUserName] <String> [-UserSearchIn] <String> [-DomainDNS] <String> [[-token] <Hashtable>] [<CommonParameters>]


Parameters:

-GroupLookupBy <String>
Specify method to query for target EPVGroup
Possible values: GroupName, GroupID

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

-GroupLookupVal <String>
Search value to query for target EPVGroup

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

-EPVUserName <String>
Target EPVUserName that will be added to target EPVGroup

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

-UserSearchIn <String>
Specify where to find the target EPVUser
Possible values: Vault, Domain

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

-DomainDNS <String>
Specify the target directory mapping of the target EPVUser if the user is coming from a location of type Domain

Required: true
Position: 5
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: 6
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:

$AddMemberEPVGroupStatus = Add-VPASMemberEPVGroup -GroupLookupBy GroupName -GroupLookupVal {GROUPNAME VALUE} -EPVUserName {USERNAME VALUE} -UserSearchIn domain -DomainDNS vman

$AddMemberEPVGroupStatus = Add-VPASMemberEPVGroup -GroupLookupBy GroupID -GroupLookupVal {GROUPID VALUE} -EPVUserName {USERNAME VALUE} -UserSearchIn vault -DomainDNS vault


Outputs:

$true if successful

$false if failed