[cisco-voip] PowerShell Provider for CUCM

Pete Brown jpb at chykn.com
Thu Oct 25 15:10:33 EDT 2018


Edgar,


Does Variphy offer a PowerShell provider for browsing CUCM objects?



-Pete

________________________________
From: Edgar Salazar <edgar at variphy.com>
Sent: Thursday, October 25, 2018 1:55 PM
To: jpb at chykn.com
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] PowerShell Provider for CUCM

Pete are you looking to specifically query for these details using PowerShell?  You can look at Variphy's As-Built reporting, it can possibly save you hours of work.  You can get a 30 day evaluation license to see if this fits your need:  https://www.variphy.com/products/cisco-as-built-configuration-reporting/<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.variphy.com%2Fproducts%2Fcisco-as-built-configuration-reporting%2F&data=02%7C01%7C%7Cc8bed24b1b6d4f3bfe9508d63aab6d9f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636760905277004756&sdata=kkdqgsBRVggCFDAlRfmD0fez4TaF1UC1x8BzSnk0E1M%3D&reserved=0>

Cheers,

Edgar
[Variphy, Inc. Logo]<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgoo.gl%2Fgmp1xY&data=02%7C01%7C%7Cc8bed24b1b6d4f3bfe9508d63aab6d9f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636760905277004756&sdata=JHATOr7HK1N7yllCvmLvQeRnEIAgpDAkgffuKYgVsNc%3D&reserved=0>

Edgar Salazar · Consulting Systems Engineer
Variphy, Inc.<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgoo.gl%2Fgmp1xY&data=02%7C01%7C%7Cc8bed24b1b6d4f3bfe9508d63aab6d9f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636760905277004756&sdata=JHATOr7HK1N7yllCvmLvQeRnEIAgpDAkgffuKYgVsNc%3D&reserved=0> · "Trust but Variphy"
t.(832)VARIPHY (832-827-4749)<tel:+1-832-827-4749>
e.edgar at variphy.com<mailto:edgar at variphy.com>
[LinkedIn]<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2Fp1VeF6&data=02%7C01%7C%7Cc8bed24b1b6d4f3bfe9508d63aab6d9f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636760905277004756&sdata=QeLFmwgh6SeAfKexbY8tIFsnOkAXntheSZtcnhung64%3D&reserved=0>[Twitter]<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2FKvwvnn&data=02%7C01%7C%7Cc8bed24b1b6d4f3bfe9508d63aab6d9f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636760905277004756&sdata=Nm7hapj9uHrn9hjnpIQlqIAQHRSYShYcb0ygGxt7Z%2Bg%3D&reserved=0>[Google+]<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2FDkuXKD&data=02%7C01%7C%7Cc8bed24b1b6d4f3bfe9508d63aab6d9f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636760905277160995&sdata=TpOeslutJDpMgb0N0BsK85bxzdBgVyhN4NwkeQsKIbc%3D&reserved=0>[Variphy Support]<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgoo.gl%2F5x0Ccs&data=02%7C01%7C%7Cc8bed24b1b6d4f3bfe9508d63aab6d9f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636760905277160995&sdata=s7rpjXttodebSc23ySjBUP0WA3pMMq3OkUXXMI1Qlc4%3D&reserved=0>



On Thu, Oct 25, 2018 at 1:40 PM Pete Brown <jpb at chykn.com<mailto:jpb at chykn.com>> wrote:

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

_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpuck.nether.net%2Fmailman%2Flistinfo%2Fcisco-voip&data=02%7C01%7C%7Cc8bed24b1b6d4f3bfe9508d63aab6d9f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636760905277160995&sdata=4zF4nKB%2B3LujMSeoZVSCx2S3zEzSWK77Oy7EJCsGQYc%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20181025/b5941076/attachment.html>


More information about the cisco-voip mailing list