Update JCUsersFromCSV - TheJumpCloud/support GitHub Wiki
external help file: JumpCloud-help.xml Module Name: JumpCloud online version: https://github.com/TheJumpCloud/support/wiki/Update-JCUsersFromCSV schema: 2.0.0
Updates a set of JumpCloud users from a CSV file created using the New-JCImportTemplate function.
Update-JCUsersFromCSV [-CSVFilePath] <String> [<CommonParameters>]
Update-JCUsersFromCSV [-CSVFilePath] <String> [-force]
[<CommonParameters>]
The Update-JCUsersFromCSV function does data validation when updating JumpCloud users in bulk from a CSV file to warn the administrator of any potential issues during the import process. Examples of warnings include warning messages for employeeIdentifiers that already exist, systems that do not exist, and groups that do not exist.
The Update-JCUserFromCSV command can be used to update user attributes, add users to groups, and bind users to systems in bulk.
Note: Custom Attribute values must be non-null and unique.
The Update-JCUserFromCSV command also has a '-force' parameter which admins can use to skip the data validate or to use the function in an automation script.
PS C:\> Update-JCUsersFromCSV ./JCUserUpdateImport_09-20-2018.csv
Updates users from the .csv file 'JCUserUpdateImport_09-20-2018.csv'
PS C:\> Update-JCUsersFromCSV ./JCUserUpdateImport_09-20-2018.csv -Force
Uses the 'Force' parameter to skip the GUI and data validation and update users from the file 'JCUserUpdateImport_09-20-2018.csv
The full path to the CSV file you wish to import. You can use tab complete to search for .csv files.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
A SwitchParameter which suppresses the GUI and data validation when using the Update-JCUsersFromCSV command.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: force
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.