PowerShell 1.0 for Vista (and Virtualization tips too)
by Todd Ogasawara
PowerShell 1.0 for Windows Vista x86 (x86)
PowerShell 1.0 for Windows Vista (x64)
You can also find an example of using PowerShell to get information about a Guest Operating System from Microsoft Virtual Server on the Virtual PC Guy's blog at...
Querying guest operating system information with Powershell
Finally, the Windows PowerShell Team Blog has a blog entry comparing Bash and PowerShell scripts that each perform the task of disconnecting a drive from a running virtual machine.
Virtual Machine Manager's PowerShell Support
The Bash script was taken from VMware's own website and is quite a bit longer than the PowerShell version. I wonder how long/complex a Python or Ruby version might be?
And, here's a link to the Port 25 blog item that led to my own series of PowerShell commentaries...
Watching a Community Grow - PowerShell
|Uh, is that bash script really longer? I mean, those "cmdlets" are just other scripts, or apps, right? Why not split the bash script into smaller parts? ...Are you seriously impressed by this?|
Anonymous: I don't see anyone commenting about being impressed. And, yes, the Bash script does appear longer to me. The PowerShell cmdlets appear to get information from methods (if that is the right term for PowerShell) from the Get-VM object (framework?) called in the first line. I assume this is an exposed object in the SCVMM. I'll let a PowerShell expert provide better insight on that.