| external help file | Module Name | online version | schema |
|---|---|---|---|
verkadaModule-help.xml |
verkadaModule |
2.0.0 |
Adds a user to Verkada Command using https://apidocs.verkada.com/reference/postuserviewv1
Add-VerkadaCommandUser [[-email] <String>] [[-firstName] <String>] [[-middleName] <String>]
[[-lastName] <String>] [[-externalId] <String>] [[-companyName] <String>] [[-department] <String>]
[[-departmentId] <String>] [[-employeeId] <String>] [[-employeeType] <String>] [[-employeeTitle] <String>]
[[-phone] <String>] [[-x_verkada_auth_api] <String>] [[-region] <String>] [-errorsToFile]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Creates a user in an organization. External ID required. Otherwise, the newly created user will contain a user ID which can be used for identification. The reqired token can be directly submitted as a parameter, but is much easier to use Connect-Verkada to cache this information ahead of time and for subsequent commands.
Add-VerkadaCommandUser -firstName 'New' -lastName 'User'
This will add the Command user with the name "New User". The token will be populated from the cache created by Connect-Verkada.
Add-VerkadaCommandUser -firstName 'New' -lastName 'User' -x_verkada_auth_api 'sd78ds-uuid-of-verkada-token'
This will add the Command user with the name "New User". The token is submitted as a parameter in the call.
Add-VerkadaCommandUser -firstName 'New' -lastName 'User' -email 'newUser@contoso.com'
This will add the Command user with the name "New User" and email newUser@contoso.com. The token will be populated from the cache created by Connect-Verkada.
Add-VerkadaCommandUser -firstName 'New' -lastName 'User' -email 'newUser@contoso.com' -externalId 'newUserUPN@contoso.com'
This will add the Command user with the name "New User", email newUser@contoso.com, and externalId newUserUPN@contoso.com. The token will be populated from the cache created by Connect-Verkada.
Add-VerkadaCommandUser -email 'newUser@contoso.com'
This will add the Command user with the email newUser@contoso.com. The token will be populated from the cache created by Connect-Verkada.
Add-VerkadaCommandUser -firstName 'New' -lastName 'User' -email 'newUser@contoso.com -companyName 'Contoso' -department 'sales' -departmentId 'US-Sales' -employeeId '12345' -employeeTitle 'The Closer' -employeeType 'Full Time' -phone '+18165556789'
This will add the Command user with the name "New User" and email newUser@contoso.com in department defined as sales with departmnetId of US-Sales with the appropriate companyName, employeeID, employeeTitle, employeeType and phone. The token will be populated from the cache created by Connect-Verkada.
The email address of the user
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe first name of the user
Type: String
Parameter Sets: (All)
Aliases: first_name
Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe middle name of the user
Type: String
Parameter Sets: (All)
Aliases: middle_name
Required: False
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe last name of the user
Type: String
Parameter Sets: (All)
Aliases: last_name
Required: False
Position: 4
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: Falseunique identifier managed externally provided by the consumer. This will default to email if omitted
Type: String
Parameter Sets: (All)
Aliases: external_id
Required: False
Position: 5
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe company name of the user
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe department of the user
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe departmentId of the user
Type: String
Parameter Sets: (All)
Aliases: department_id
Required: False
Position: 8
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe employee ID of the user
Type: String
Parameter Sets: (All)
Aliases: employee_id
Required: False
Position: 9
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe employee type of the user
Type: String
Parameter Sets: (All)
Aliases: employee_type
Required: False
Position: 10
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe title of the user
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe main phone number of the user, E.164 format preferred
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 12
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseThe public API token obatined via the Login endpoint to be used for calls that hit the public API gateway
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 13
Default value: $Global:verkadaConnection.x_verkada_auth_api
Accept pipeline input: False
Accept wildcard characters: FalseThe region of the public API to be used
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 14
Default value: Api
Accept pipeline input: False
Accept wildcard characters: FalseSwitch to write errors to file
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.