It has been several weeks since I have posted to this blog. I would blame this on the holidays, but that would be inaccurate as it has been something far more insidious!
What is CLASH?
CLASH is a universal shell. What is a universal shell? First, by universal I mean that it is intended to run on all major desktop operating system platforms including:
Windows XP, Windows Vista, Windows 7
Great, so what can I do with this prototype?
-If you are on a Windows System, you can either edit the clash.bat file and put in your server’s IP or name along with a username and password to connect
-If you are on Mac or Linux, you can simply type ./clash –Server 127.0.0.1 –Username administrator –Password password to connect
-The following are the working commands:
> Get-VM SomeVMName
Above gets the VM object and prints out the Guest Operating System type
This displays the methods available to the VM object
This shows only the methods with “get” in them
This shows only the methods with “set” in them
This shows only them methods that contain “something” in them
This will execute the method against the object (i.e. $result getName will display the name property of the VM object from Get-VM)
This will cleanly disconnect from the vCenter / vSphere server
This command is flakey at the moment, this will be fixed when the next prototype is released in a few weeks
This is in the same state as Start-VM
Where is this headed?
After many experiments, it will be broken out into a flexible system that allows many different options and cool capabilities against not only vCenter and vSphere, but most Cloud platforms as well. Currently planned platforms include:
-Amazon EC2 and S3
-Rackspace
-(Looking for the next provider for this list)
Other interfaces to the shell (for both input and output) will include a Web interface, I’m looking for thoughts on other types of interfaces desired.
How will this work?
Below is my latest planned diagram for how I hope/think things should work:
Where can I get the Prototype?
You can get the code from GitHub here
You can download the entire package here
Installation Directions (AGAIN, this is a PROTOTYPE, it does NOT follow best practices)
1.) Make sure that you have Java 1.5 or Above Installed
Download Java from Here
Hi Dave,
It’s pretty cool. As many folks seeking PowerCLI for Linux, this can be a solution!
Steve Jin
That is one of the intents, as well as a PowerCLI solution for Mac. In the next Alpha release I will have refactored things so that the action and result state/object exist external to the shell interface. This will allow for a shared result model where some very cool/interesting interactions can occur. Think of it as a Distributed Shell of sorts….