< Back

Get-PSCUCMPhoneServices

Sun Jan 19, 2020 6:38 pm

NAME Get-PSCUCMPhoneServices



SYNOPSIS

Get the Phone Services for a phone based upon a DN.





SYNTAX

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





DESCRIPTION

Get the Phone Services for a phone based upon the DN of the phone. Presumes phones with services don't share the

DN... Might fail spectacularly if the DN is shared...





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-PSCUCMPhoneServices -DN 1001



Gets the Phone Services for phone with DN 1001.











RELATED LINKS