external help file | Module Name | online version | schema |
---|---|---|---|
DuoSecurity-help.xml |
DuoSecurity |
2.0.0 |
Modify Phone
Update-DuoPhone [-PhoneId] <String> [[-Number] <String>] [[-Name] <String>] [[-Extension] <String>]
[[-Type] <String>] [[-Platform] <String>] [[-PostDelay] <Int32>] [[-PreDelay] <Int32>] [-WhatIf] [-Confirm]
[<CommonParameters>]
Change the details of the phone with ID phone_id. Requires "Grant write resource" API permission.
Update-DuoPhone -PhoneId SOMEDUOID -Name 'New phone name'
Id of phone
Type: String
Parameter Sets: (All)
Aliases: phone_id
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The new phone number; E.164 format recommended (i.e. "+17345551212"). If no leading plus sign is provided then it is assumed to be a United States number and an implicit "+1" country code is prepended. Dashes and spaces are ignored.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Free-form label for the phone.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The new extension.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The phone type. See Retrieve Phones for a list of possible values.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: Mobile
Accept pipeline input: False
Accept wildcard characters: False
The phone platform. See Retrieve Phones for a list of possible values.The time (in seconds) to wait after the number picks up and before dialing the extension.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: Generic Smartphone
Accept pipeline input: False
Accept wildcard characters: False
The time (in seconds) to wait after the extension is dialed and before the speaking the prompt.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
The time (in seconds) to wait after the number picks up and before dialing the extension.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
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.