Add-VPASBulkSafeMembers


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

BULK ADD/UPDATE SAFE MEMBERS


Description:

USE THIS FUNCTION TO ADD OR UPDATE SAFE MEMBERS IN BULK VIA CSV FILE


Syntax:

Add-VPASBulkSafeMembers [-CSVFile] <String> [[-SkipConfirmation]] [[-token] <Hashtable>] [<CommonParameters>]


Parameters:

-CSVFile <String>
Location of the CSV file containing the target information

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

-SkipConfirmation [<SwitchParameter>]
Skip prompting for confirmation to proceed if the target safe member already exists in the target safe
The provided permissions in the CSVFile will overwrite/replace the existing permissions

Required: false
Position: 2
Default value: False
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: 3
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:

$BulkAddUpdateSafeMembers = Add-VPASBulkSafeMembers -CSVFile {CSVFILE VALUE}


Outputs:

$true if successful

$false if failed