[cisco-voip] PowerShell Provider for CUCM

Anthony Holloway avholloway+cisco-voip at gmail.com
Fri Oct 26 17:30:49 EDT 2018


Yeah, drawbacks exist in all solutions, sure.  It's fair enough that you
find value in it, to want to do it.  I'm not trying to talk you out of it,
rather, just understanding the angle you're seeing this from.

On Fri, Oct 26, 2018 at 12:15 AM Pete Brown <jpb at chykn.com> wrote:

> Aside from the obvious drawbacks (additional web server, browser issues,
> security issues, etc), you'd lose one of the main benefits of PowerShell.
> The ability to chain commands together with objects passed between them.
> It's kinda tricky to do that in a web interface.
>
>
>
> ------------------------------
> *From:* Anthony Holloway <avholloway+cisco-voip at gmail.com>
> *Sent:* Thursday, October 25, 2018 4:52 PM
> *To:* Pete Brown
> *Cc:* Cisco VoIP Group
> *Subject:* Re: [cisco-voip] PowerShell Provider for CUCM
>
> So why not a custom web front end then?  I mean, if you already have green
> techs as your target audience, surely a GUI would be better than a CLI,
> right?  And if you do plan to release this out to a larger audience, I
> think you'd have better adoption of a web front in than a CLI client.  Just
> my opinion.
>
> On Thu, Oct 25, 2018 at 4:10 PM Pete Brown <jpb at chykn.com> wrote:
>
> Anthony,
>
>
> The end goal would be to give admins with little to no scripting
> experience a CLI based method of browsing, querying and possibly managing
> objects.  As far as I know, there's no way to do this unless you meet the
> following requirements:
>
>
>
>    - Decent scripting/development background
>    - Experience consuming REST & SOAP services
>    - Familiar with the CUCM Data Dictionary
>
>
> That rules out the majority of the UC folks I've worked with.  Sure,
> there's the stock web UI.  Or solutions from Variphy & UnifiedFX if you can
> convince the business to get the budget.  But sometimes it's nice to have
> an easy to use CLI option that doesn't involve the complexities of learning
> the APIs.
>
>
> Not sure if they have a provider or not.  Would be a little presumptuous
> to think I was the first guy that had this idea.
>
>
> -Pete
>
>
> ------------------------------
> *From:* Anthony Holloway <avholloway+cisco-voip at gmail.com>
> *Sent:* Thursday, October 25, 2018 3:30 PM
> *To:* Pete Brown
> *Cc:* edgar at variphy.com; Cisco VoIP Group
> *Subject:* Re: [cisco-voip] PowerShell Provider for CUCM
>
> Pete,
>
> Why do I get the feeling like you already know it doesn't?
>
> Anyway, what's your use case for a utility like this?  What's the end goal?
>
> On Thu, Oct 25, 2018 at 2:10 PM Pete Brown <jpb at chykn.com> wrote:
>
> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.variphy.com%2Fproducts%2Fcisco-as-built-configuration-reporting%2F&data=02%7C01%7C%7C35eff0c881174bca97ab08d63ac43d18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636761011837040632&sdata=MrZ%2FS0HeMKLn2slIzMblQtkbJbAKloUWkPpgOVdlVRA%3D&reserved=0>
>
> Cheers,
>
> Edgar
> [image: Variphy, Inc. Logo]
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgoo.gl%2Fgmp1xY&data=02%7C01%7C%7C35eff0c881174bca97ab08d63ac43d18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636761011837196892&sdata=uOxC7II26cdjKx%2FumYBmqEnKBWCgcNG6hJZNCkt3K3A%3D&reserved=0>
> Edgar Salazar · Consulting Systems Engineer
> Variphy, Inc.
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgoo.gl%2Fgmp1xY&data=02%7C01%7C%7C35eff0c881174bca97ab08d63ac43d18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636761011837196892&sdata=uOxC7II26cdjKx%2FumYBmqEnKBWCgcNG6hJZNCkt3K3A%3D&reserved=0>
>  *·* "Trust but Variphy"
> t.(832)VARIPHY (832-827-4749) <+1-832-827-4749>
> e.edgar at variphy.com
> [image: LinkedIn]
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2Fp1VeF6&data=02%7C01%7C%7C35eff0c881174bca97ab08d63ac43d18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636761011837196892&sdata=RGFyfN1MClNM3iXpkpiPRAiZf7U2keB9yEAMQ1XUMzM%3D&reserved=0>[image:
> Twitter]
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2FKvwvnn&data=02%7C01%7C%7C35eff0c881174bca97ab08d63ac43d18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636761011837196892&sdata=bfcxru%2F%2FiAD1eW7tbFcc9W45S1GL9vOHUvK%2BlMIxXow%3D&reserved=0>[image:
> Google+]
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2FDkuXKD&data=02%7C01%7C%7C35eff0c881174bca97ab08d63ac43d18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636761011837196892&sdata=Q4Y3TvU45mBobgXZc8KvZxYPm0rbpn9VSsXXU%2FtJmPU%3D&reserved=0>[image:
> Variphy Support]
> <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgoo.gl%2F5x0Ccs&data=02%7C01%7C%7C35eff0c881174bca97ab08d63ac43d18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636761011837196892&sdata=UE9ueaaJ8DnvwTAH6hbVD8iyXvbkmq6kc6FGZxDxfJU%3D&reserved=0>
>
>
>
> On Thu, Oct 25, 2018 at 1:40 PM Pete Brown <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
> https://puck.nether.net/mailman/listinfo/cisco-voip
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpuck.nether.net%2Fmailman%2Flistinfo%2Fcisco-voip&data=02%7C01%7C%7C35eff0c881174bca97ab08d63ac43d18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636761011837196892&sdata=n7UMFG1IwTNC1k2fFQ0Edvkd%2Bvlv3hC0Tukj8PqO4GM%3D&reserved=0>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpuck.nether.net%2Fmailman%2Flistinfo%2Fcisco-voip&data=02%7C01%7C%7C35eff0c881174bca97ab08d63ac43d18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636761011837196892&sdata=n7UMFG1IwTNC1k2fFQ0Edvkd%2Bvlv3hC0Tukj8PqO4GM%3D&reserved=0>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20181026/53b983f9/attachment.html>


More information about the cisco-voip mailing list