Confirm-VPASBulkFile


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

VALIDATE CSV FILES FOR BULK OPERATIONS


Description:

USE THIS FUNCTION TO VALIDATE CSV FILES FOR BULK OPERATIONS


Syntax:

Confirm-VPASBulkFile [-BulkOperation] <String> [-CSVFile] <String> [[-ISPSS]] [[-HideOutput]] [<CommonParameters>]


Parameters:

-BulkOperation <String>
Which bulk operation the CSVFile should be tested against
Possible values: BulkSafeCreation, BulkAccountCreation, BulkSafeMembers

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

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

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

-ISPSS [<SwitchParameter>]
For saas environments
The APIs for adding safe members introduced a new parameter for saas environments. Enable this flag for saas environments

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

-HideOutput [<SwitchParameter>]
Suppress any output to the console

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

$CSVFileValidate = Confirm-VPASBulkFile -BulkOperation {BULKOPERATION VALUE} -CSVFile {CSVFILE LOCATION}


Outputs:

$true if successful

$false if failed