<div dir="ltr"><div>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.</div><div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 26, 2018 at 12:15 AM Pete Brown <<a href="mailto:jpb@chykn.com">jpb@chykn.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_9182176914027804019divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0">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.</p>
<p style="margin-top:0;margin-bottom:0"></p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_9182176914027804019divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com" target="_blank">avholloway+cisco-voip@gmail.com</a>><br>
<b>Sent:</b> Thursday, October 25, 2018 4:52 PM<br>
<b>To:</b> Pete Brown<br>
<b>Cc:</b> Cisco VoIP Group<br>
<b>Subject:</b> Re: [cisco-voip] PowerShell Provider for CUCM</font>
<div> </div>
</div>

<div>
<div dir="ltr">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.</div>
<br>
<div class="m_9182176914027804019x_gmail_quote">
<div dir="ltr">On Thu, Oct 25, 2018 at 4:10 PM Pete Brown <<a href="mailto:jpb@chykn.com" id="m_9182176914027804019LPlnk803590" class="m_9182176914027804019OWAAutoLink" target="_blank">jpb@chykn.com</a>> wrote:<br>
</div>
<blockquote class="m_9182176914027804019x_gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_9182176914027804019x_m_-6078149088502909710divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0;margin-bottom:0">Anthony,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">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:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<ul style="margin-bottom:0px;margin-top:0px">
<li>Decent scripting/development background</li><li>Experience consuming REST & SOAP services</li><li>Familiar with the CUCM Data Dictionary</li></ul>
<div><br>
</div>
<div>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.<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>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.<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-Pete<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_9182176914027804019x_m_-6078149088502909710divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com" id="m_9182176914027804019LPlnk884930" class="m_9182176914027804019OWAAutoLink" target="_blank">avholloway+cisco-voip@gmail.com</a>><br>
<b>Sent:</b> Thursday, October 25, 2018 3:30 PM<br>
<b>To:</b> Pete Brown<br>
<b>Cc:</b> <a href="mailto:edgar@variphy.com" id="m_9182176914027804019LPlnk202989" class="m_9182176914027804019OWAAutoLink" target="_blank">
edgar@variphy.com</a>; Cisco VoIP Group<br>
<b>Subject:</b> Re: [cisco-voip] PowerShell Provider for CUCM</font>
<div> </div>
</div>
<div>
<div dir="ltr">Pete,
<div><br>
</div>
<div>Why do I get the feeling like you already know it doesn't?</div>
<div><br>
</div>
<div>Anyway, what's your use case for a utility like this?  What's the end goal?</div>
</div>
<br>
<div class="m_9182176914027804019x_m_-6078149088502909710x_gmail_quote">
<div dir="ltr">On Thu, Oct 25, 2018 at 2:10 PM Pete Brown <<a href="mailto:jpb@chykn.com" id="m_9182176914027804019LPlnk690363" class="m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">jpb@chykn.com</a>> wrote:<br>
</div>
<blockquote class="m_9182176914027804019x_m_-6078149088502909710x_gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0;margin-bottom:0">Edgar,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Does Variphy offer a PowerShell provider for browsing CUCM objects?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">-Pete<br>
</p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654divRplyFwdMsg" dir="ltr">
<font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Edgar Salazar <<a href="mailto:edgar@variphy.com" id="m_9182176914027804019LPlnk517988" class="m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">edgar@variphy.com</a>><br>
<b>Sent:</b> Thursday, October 25, 2018 1:55 PM<br>
<b>To:</b> <a href="mailto:jpb@chykn.com" id="m_9182176914027804019LPlnk523911" class="m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">
jpb@chykn.com</a><br>
<b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" id="m_9182176914027804019LPlnk528990" class="m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">
cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] PowerShell Provider for CUCM</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">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:  <a href="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" id="m_9182176914027804019LPlnk886779" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">https://www.variphy.com/products/cisco-as-built-configuration-reporting/</a>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Edgar</div>
<div>
<div>
<div dir="ltr" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<table cellspacing="0" cellpadding="0" border="0" style="font-family:Times;border-collapse:collapse;width:582px">
<tbody>
<tr>
<td rowspan="3" border="0" width="150" height="100" bgcolor="transparent"><a href="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" id="m_9182176914027804019LPlnk261200" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank"><img title="Variphy, Inc. Logo" alt="Variphy, Inc. Logo" width="130" height="80" border="0" src="http://www.variphy.com/images/signature/variphy_logo_shadowed_transparent_1_1_1.png"></a></td>
</tr>
<tr>
<td colspan="2" height="20" bgcolor="transparent"></td>
</tr>
<tr>
<td colspan="2" valign="top" height="90" bgcolor="transparent" style="padding-left:20px">
<span style="letter-spacing:1px;line-height:20px;color:rgb(87,87,95);font-family:Arial;font-size:14px;font-weight:bold">Edgar Salazar</span> <span style="letter-spacing:1px;line-height:20px;color:rgb(249,161,51);font-family:Arial;font-size:12px;font-weight:bold;padding:0px 5px">·</span> <span style="letter-spacing:1px;line-height:20px;color:rgb(87,87,95);font-family:Arial;font-size:11px;font-weight:bold">Consulting
 Systems Engineer</span> <br>
<a href="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" id="m_9182176914027804019LPlnk712927" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" style="letter-spacing:1px;line-height:20px;color:rgb(87,87,95);font-family:Arial;font-size:11px" target="_blank">Variphy,
 Inc.</a> <span style="letter-spacing:1px;line-height:20px;color:rgb(249,161,51);font-family:Arial;font-size:12px;font-weight:bold;padding:0px 5px"><b>·</b></span> <span style="letter-spacing:1px;line-height:20px;color:rgb(87,87,95);font-family:Arial;font-size:11px;font-style:italic">"Trust
 but Variphy"</span> <br>
<span style="float:left;letter-spacing:1px;line-height:20px;color:rgb(249,161,51);font-family:Arial;font-size:12px;font-weight:bold;width:20px">t.</span><span style="letter-spacing:1px;line-height:20px;color:rgb(87,87,95);font-family:Arial;font-size:11px">(832)VARIPHY</span> <a href="tel:+1-832-827-4749" id="m_9182176914027804019LPlnk423237" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" style="letter-spacing:1px;line-height:20px;color:rgb(87,87,95);font-family:Arial;font-size:11px" target="_blank">(832-827-4749)</a> <br>
<span style="float:left;letter-spacing:1px;line-height:20px;color:rgb(249,161,51);font-family:Arial;font-size:12px;font-weight:bold;width:20px">e.</span><a href="mailto:edgar@variphy.com" id="m_9182176914027804019LPlnk982586" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" style="letter-spacing:1px;line-height:20px;color:rgb(87,87,95);font-family:Arial;font-size:11px" target="_blank">edgar@variphy.com</a> <br>
<a href="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" id="m_9182176914027804019LPlnk929313" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" style="float:left;margin:10px 20px 0px 0px" target="_blank"><img title="LinkedIn" alt="LinkedIn" width="30" height="30" style="border:none" src="http://www.variphy.com/images/signature/linkedin_1_1.png"></a><a href="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" id="m_9182176914027804019LPlnk211903" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" style="float:left;margin:10px 20px 0px 0px" target="_blank"><img title="Twitter" alt="Twitter" width="30" height="30" style="border:none" src="http://www.variphy.com/images/signature/twitter_new_1_1.png"></a><a href="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" id="m_9182176914027804019LPlnk262514" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" style="float:left;margin:10px 20px 0px 0px" target="_blank"><img title="Google+" alt="Google+" width="30" height="30" style="border:none" src="http://www.variphy.com/images/signature/google_icon_1.png"></a><a href="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" id="m_9182176914027804019LPlnk102812" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" style="float:left;margin:10px 20px 0px 0px" target="_blank"><img title="Variphy Support" alt="Variphy Support" width="30" height="30" style="border:none" src="http://www.variphy.com/images/signature/Variphy_Support2_1.png"></a></td>
</tr>
<tr>
</tr>
</tbody>
</table>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
<br>
<div class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654x_gmail_quote">
<div dir="ltr">On Thu, Oct 25, 2018 at 1:40 PM Pete Brown <<a href="mailto:jpb@chykn.com" id="m_9182176914027804019LPlnk185925" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">jpb@chykn.com</a>>
 wrote:<br>
</div>
<blockquote class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654x_gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654x_m_-7792010136984818803divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0;margin-bottom:0">TLDR - Can't seem to find any PS providers for CUCM so I'm writing one.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">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.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<ul style="margin-bottom:0px;margin-top:0px">
<li>PS> dir c:</li><li>PS> dir SQLSERVER:\{host}\{instance}\Databases\...</li></ul>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">For CUCM I was thinking of doing something like this.<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<ul style="margin-bottom:0px;margin-top:0px">
<li>PS> Connect-CUCM -host {cucmhost} -user {axluser} -pass {axl-pass}<br>
</li><li>PS> dir CUCM:\{<span>cucmhost</span>}\Devices</li><li><span>PS> dir CUCM:\{<span>cucmhost</span>}\Devices</span>\SEP0123456789AB</li><li><span>PS> dir CUCM:\{<span>cucmhost</span>}\Devices</span> -dn 123456<br>
</li><li>PS> dir CUCM:\{<span>cucmhost</span>}\EndUsers</li><li>
<div>PS> dir CUCM:\{<span>cucmhost</span>}\EndUsers\myusername</div>
</li><li>
<div>PS> dir CUCM:\{<span>cucmhost</span>}\EndUsers -group Admins</div>
</li></ul>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">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.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Please chime in if you have ideas on how you'd like to see this implemented.  Directory structure, query options, etc.<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">-Pete<br>
</p>
</div>
</div>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" id="m_9182176914027804019LPlnk861225" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="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" rel="noreferrer" id="m_9182176914027804019LPlnk599658" class="m_9182176914027804019x_m_-6078149088502909710x_m_5784574105161618654OWAAutoLink m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" id="m_9182176914027804019LPlnk47574" class="m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="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" rel="noreferrer" id="m_9182176914027804019LPlnk417698" class="m_9182176914027804019x_m_-6078149088502909710OWAAutoLink m_9182176914027804019OWAAutoLink" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>

</blockquote></div>