PowerCLI

 View Only
  • 1.  Power GUI intergration

    Posted Mar 17, 2008 08:35 PM

    Is there a powerpack or other intergration for powerGUI?

    ~ Cody



  • 2.  RE: Power GUI intergration

    Posted Mar 18, 2008 08:56 AM

    Cody,

    We have started working on that so something is hopefully coming within the next few weeks. Keep a eye on the PowerGUI community library.

    Any ideas on what to add to the pack is welcome!

    Meanwhile, you can check out the Lab Manager powerpack which is already there.

    Dmitry



  • 3.  RE: Power GUI intergration

    Posted Apr 04, 2008 08:13 PM

    Hi everyone,

    The PowerGUI VMware PowerPack has been released today. You can read more details on the VI Toolkit Blog, or you can download it directly.



  • 4.  RE: Power GUI intergration

    Posted Apr 05, 2008 12:18 AM

    Hmm. There's a script node labelled "Connect", but it doesn't do anything, per se. I was going to make it work but ran out of time. Here's the script. Not sure where exactly they were going with this, but I'm sure it's very clever. :smileyhappy: My brain is already in vacation mode so I won't bother spending cycles on this. I expect to come back from vacation to find you guys have it all figured out. :smileygrin:

    # Display a list of available connections
    $cnfPath = "$($env:USERPROFILE)\Local Settings\Application Data\Quest Software\PowerGUI\Quest.PowerGUI.VMware.Config.xml"
    $connections = @{}
    if ( -not (Test-Path -Path $cnfPath)) {
    	$default = New-Object -TypeName System.Management.Automation.PSObject
    	$default.PSObject.TypeNames[0] = "$($default.PSObject.TypeNames[0])#VMwareConnection"
    	$default `
    		| Add-Member -Name Server -MemberType NoteProperty -Value "MyServer" -PassThru `
    		| Add-Member -Name Port -MemberType NoteProperty -Value "443" -PassThru `
    		| Add-Member -Name Username -MemberType NoteProperty -Value "user" -PassThru `
    		| Add-Member -Name Protocol -MemberType NoteProperty -Value "HTTPS"
    		
    	$connections[http://$default.Server|http://$default.Server]=$default
    	$connections | Export-Clixml -Path $cnfPath
    }
    $connections = Import-Clixml -Path $cnfPath
    $connections | ForEach-Object { $_.Values }

    Hal Rottenberg

    Co-Host, PowerScripting Podcast (http://powerscripting.net)



  • 5.  RE: Power GUI intergration

    Posted Apr 07, 2008 03:35 PM

    Hal,

    I have just updated the VMware pack at PowerGUI.org . It should now display the actions (Connect, Add, Remove) for the connect node.

    Dmitry



  • 6.  RE: Power GUI intergration

    Posted Apr 11, 2008 05:18 AM

    Just want to chime-in to mention that I'm getting the same error as well. PowerPack is beign installed into %userprofile%\Local Settings\Quest Software, but it's looking for itself in %userprofile%\Local Settings\*Application Data*\Quest Software. Simply copying the folder works around the problem...



  • 7.  RE: Power GUI intergration

    Posted Apr 11, 2008 09:00 AM

    Oops, looks like I inadvertently hardcoded the path the way it is on Win 2003, and you are using Vista or 2008... Thanks for reporting the issue! I will update the pack.



  • 8.  RE: Power GUI intergration

    Posted Apr 11, 2008 09:15 AM

    I have updated the pack. Now it uses "$($env:LOCALAPPDATA)\Quest Software\PowerGUI\Quest.PowerGUI.VMware.Config.xml" as the configuration file path - which should evaluate fine on any OS.

    Thanks for reporting the issue.

    Any other feature requests?



  • 9.  RE: Power GUI intergration

    Posted Apr 11, 2008 11:52 AM

    Cool, thanks a lot!

    As for the other feature requests, not sure if it's doable... It originates from my other post where I'm loking for a way to ouptup info from two separate CMD-lets (VM name and its MAC address). It would be awesome if we could report not only properties of the current node, but also it's parent. Basically, ability to see not just MAC address of a single VM, but also all attributes that were used to dig down to this level (VC, Datacenter, Cluster, VM).

    Thanks again! PowerGUI already saved me a week worth of work, so I'll happily continue to use it even without this feature :smileyhappy: