Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PowerShell Module
#1
RoyalTS recently released a beta of their RD management app that provides a PowerShell module to do just about anything you'd need to do to a connection

http://www.powershellmagazine.com/2015/0...ll-module/

Being a heavy PowerShell user, it'd be beyond awesome if ASG implemented this as well. It would be nice to incorporate this to our server build / decom process.

A few suggested cmdlets:
Get-ASGConnection (Get any properties about a connection)
Set-ASGConnection (Set any properties - accept pipeline input from Get-ASGConnection)
New-ASGConnection (Create a new connection)
Copy-ASGConnection (Take source connection and prompt for new displayname, destination)
Remove-ASGConnection (Delete a connection)
Move-ASGConnection (Move to different folder)

Ideally these would include a -Server and -Credential parameter to allow running remotely in a central database configuration. Security Management within ASG could add a PowerShell permission that would prevent specific users from running them

The only idea I can think of to accomplish the same thing would be to use SQL profiler to capture the SQL queries used on the backend and generate functions directly against the SQL database, but I'm guessing that's not supported, and honestly, would be quite messy.

Just wanted to suggest the idea.
Thanks!
Reply
#2
Yes, it is planned to support an API to access objects directly - and the idea is to use PowerShell for that - could be in the next major version.
Regards/Gruss
Oliver
Reply




Users browsing this thread: 1 Guest(s)