Thank you for a useful tool you have posted at github. I was trying both the nodejs and powershell options and getting below errors. Can you please take a look?
Powershell - After org name, user name, pass and, proxy name is entered
Set-EdgeConnection : The term 'Set-EdgeConnection' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\git\apigee\utilities\EdgeTools\findProxy.ps1:17 char:1
+ Set-EdgeConnection @connection
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-EdgeConnection:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Proxy to find: Utility-SMC-CORE-v1
Get-EdgeApiProduct : The term 'Get-EdgeApiProduct' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\git\apigee\utilities\EdgeTools\findProxy.ps1:23 char:12
+ $prods = @(Get-EdgeApiProduct -Params @{ expand = 'true' }).apiProduct
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-EdgeApiProduct:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Total Products: 0
Exception calling "Format" with "2" argument(s): "Value cannot be null.
Parameter name: args"
At C:\git\apigee\utilities\EdgeTools\findProxy.ps1:30 char:1
+ Write-Output ([string]::Format('Products: {0}', (ConvertTo-Json $filteredProds) ...
+~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ArgumentNullException
NodeJS (findApiProductForProxy.j) - after user name and pass is entered
You must specify an Edge organization
Usage: node findApiProductForProxy.js