functions/utility/Get-PSCUCMStatus.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
function Get-PSCUCMStatus { <# .SYNOPSIS Get the status of the current CUCM Connection .DESCRIPTION Get the status of the current CUCM Connection. Does *not* return the credential. .EXAMPLE Get-PSCUCMStatus Name Value ---- ----- Server SkipCertificateCheck AXLVersion Connected False #> [CmdletBinding()] param () [PSCustomObject]@{ Connected = Get-PSFConfigValue PSCUCM.Connected AXLVersion = Get-PSFConfigValue PSCUCM.AXLVersion Server = Get-PSFConfigValue PSCUCM.Server SkipCertificateCheck = Get-PSFConfigValue PSCUCM.SkipCertificateCheck } } |