< Back

Get-PSCUCMPhone

Sun Jan 19, 2020 6:38 pm

NAME Get-PSCUCMPhone



SYNOPSIS

Get a single phone in CUCM





SYNTAX

Get-PSCUCMPhone [-DN] <String> [-EnableException] [<CommonParameters>]





DESCRIPTION

Get a single phone in CUCM based upon the Directory Number





PARAMETERS

-DN <String>

Directory Number to look up.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-EnableException [<SwitchParameter>]

Replaces user friendly yellow warnings with bloody red exceptions of doom!

Use this if you want the function to throw terminating errors you want to catch.



Required? false

Position? named

Default value False

Accept pipeline input? false

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).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PSCUCMPhone -DN 1001



Returns the phone with DN 1001.











RELATED LINKS