[cisco-voip] PowerShell Provider for CUCM

Pete Brown jpb at chykn.com
Thu Oct 25 14:39:21 EDT 2018


TLDR - Can't seem to find any PS providers for CUCM so I'm writing one.


There are a bunch of great PS scripts out there that provide cmdlets for AXL operations, but I'd like to be able to enumerate and reference CUCM objects via a PSDrive as you can with other providers.


  *   PS> dir c:
  *   PS> dir SQLSERVER:\{host}\{instance}\Databases\...


For CUCM I was thinking of doing something like this.


  *   PS> Connect-CUCM -host {cucmhost} -user {axluser} -pass {axl-pass}
  *   PS> dir CUCM:\{cucmhost}\Devices
  *   PS> dir CUCM:\{cucmhost}\Devices\SEP0123456789AB
  *   PS> dir CUCM:\{cucmhost}\Devices -dn 123456
  *   PS> dir CUCM:\{cucmhost}\EndUsers
  *
PS> dir CUCM:\{cucmhost}\EndUsers\myusername
  *
PS> dir CUCM:\{cucmhost}\EndUsers -group Admins


I recently had to write a provider for another project, so it won't be too hard to whip one up that runs AXL queries and presents PS objects.  Maybe add RisPort support so device config and state data can be presented as a single object.  Initially it would be read-only.


Please chime in if you have ideas on how you'd like to see this implemented.  Directory structure, query options, etc.



-Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20181025/460e2192/attachment.html>


More information about the cisco-voip mailing list