Skip to content

Latest commit

 

History

History
202 lines (157 loc) · 3.78 KB

Update-DuoPhone.md

File metadata and controls

202 lines (157 loc) · 3.78 KB
external help file Module Name online version schema
DuoSecurity-help.xml
DuoSecurity
2.0.0

Update-DuoPhone

SYNOPSIS

Modify Phone

SYNTAX

Update-DuoPhone [-PhoneId] <String> [[-Number] <String>] [[-Name] <String>] [[-Extension] <String>]
 [[-Type] <String>] [[-Platform] <String>] [[-PostDelay] <Int32>] [[-PreDelay] <Int32>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Change the details of the phone with ID phone_id. Requires "Grant write resource" API permission.

EXAMPLES

EXAMPLE 1

Update-DuoPhone -PhoneId SOMEDUOID -Name 'New phone name'

PARAMETERS

-PhoneId

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

-Number

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

-Name

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

-Extension

The new extension.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Type

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

-Platform

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

-PostDelay

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

-PreDelay

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

-WhatIf

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

-Confirm

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

https://duo.com/docs/adminapi#modify-phone