matbrady / TSM-alfred-vm-checkout

Workflow that adds TSM-vm-checkout functionality to the Alfred 2 application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VM Checkout Icon

Alfred Virtual Machine Checkout

A Workflow that adds TSM-vm-checkout functionality to Alfred 2.

Download

Quick Start

  1. Set - set to set your VM checkout name
  2. Claim - claim to search all avaliable vm which can be claimed (bonus)
  3. Vacate - vacate to search all personally claimed vms

Commands

VM Command Screenshot

VM

Shows all VM checkout workflow actions.

Set Name / Reset Name

Allows the user to either set or reset their VM checkout name that is used to claim vms. This creates a simple txt document containing the user provided name.

Claim

Search the server for available vms. Selecting a result sends a request to the server which claims the machine and the user is notified that they now own that vm.

Claim (cmd)

Holding down cmd will open Remote Desktop Connection Application and the claimed VM name will be pasted into the prompt.

Vacate

Searches the server for the users claimed vms. Selecting a result sends a request to the server to vacate the vm. If you have more than one vm checked out, a 'Vacate All VMs' result will be shown that allows you to vacate all your claimed vms at once (great for when you've got a couple vms claimed and you're signing off for the day).

Things To Do:

  • See who has what - check to see who has a vm that you want.
  • 'Claim/Vacate' if no name is set request one (already available), launch intend alfred function claim or vacate.
  • ✓ Open Remote Desktop Connection when claiming a VM
  • ✓ Copy VM name to clipboard for easy pasting into the RDC
  • 'VM' & 'Vacate' - provide result to take user to the VM Checkout page for manual administrating

Known Issues

Regardless of what action the user cues in Alfred, if no vm checkout name has been set the user will be prompted to set one first. This interferes with the ability launch RDC when claiming a machine. I was trying to avoid this; however, a solution is to notify the user with an error message. For example: "Your VM checkout name is not set, please run 'Set Name'"). RDC will still open when a name has been set.

About

Workflow that adds TSM-vm-checkout functionality to the Alfred 2 application.


Languages

Language:PHP 100.0%