PowerCLI live chat

Need help, want to talk about PowerCLi or just bored ?
Below is the link that will open a tab in your web browser with freenode irc gateway. You will be directed to #PowerCLI channel automatically, just rewrite captcha code and you are good to go.

PowerCLI live chat

Please note that when you decide to join #PowerCLI channel just to ask a quick question, please have in mind that people there are not robots and they do not respond in seconds. No questions are ignored, please be patient and wait at least few minutes for their response.
See you there!

2 thoughts on “PowerCLI live chat

  1. hi im trying to use the script that called Script to list VM Network

    $reportedvms=New-Object System.Collections.ArrayList
    $vms=get-view -viewtype virtualmachine

    foreach($vm in $vms){
    $reportedvm = New-Object PSObject
    Add-Member -Inputobject $reportedvm -MemberType noteProperty -name Guest -value $vm.Name
    Add-Member -InputObject $reportedvm -MemberType noteProperty -name UUID -value $($vm.Config.Uuid)
    $networkcards=$vm.guest.net
    $i=0
    foreach($ntwkcard in $networkcards){
    Add-Member -InputObject $reportedvm -MemberType NoteProperty -Name “networkcard${i}.Network” -Value $ntwkcard.Network
    Add-Member -InputObject $reportedvm -MemberType NoteProperty -Name “networkcard${i}.MacAddress” -Value $ntwkcard.Macaddress
    Add-Member -InputObject $reportedvm -MemberType NoteProperty -Name “networkcard${i}.IpAddress” -Value $($ntwkcard.IpAddress|?{$_ -like “*.*”})
    Add-Member -InputObject $reportedvm -MemberType NoteProperty -Name “networkcard${i}.Device” -Value $(($vm.config.hardware.device|?{$_.key -eq $($ntwkcard.DeviceConfigId)}).gettype().name)
    $i++
    }
    $reportedvms.add($reportedvm)|Out-Null
    }

    $reportedvms|Export-Csv c:\test.csv

    #### bu i always get the following in my CSV , please help mt to solve it 🙂

    UUID
    420a1b4e-e5ae-f599-3a45-9484d0c558f8
    420abd79-6e74-288b-5600-8c7af649a410
    420a19d4-8902-33b1-1bba-a577ea680831
    420a5595-38b2-53bd-c4ee-6af8ddb022c1

  2. Hi, I am using system center orchestrator and attempting to call powercli via .net script module.
    I run the following
    Add-PSSnapin VMware.VimAutomation.Core
    connect-viserver -server IPv6_address -User Username -Password password

    I keep receiving that it fails, reporting that “the term connect-viserver is not recognized”
    Any ideas as to were I am screwing up?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s