PowerCLI parallel commands

Hi guys,.

I'm not quit sure how to handle.   I'm trying to connect to esxi hosts to sync away from the virtual computer in suspend mode.  Which works very well.

But he does just 1 in an hour and not in parallel.

I'm not sure how I have to change the code that processes synchronization for each virtual machine at the same time. I found info on "Foreach-parallel" but it gives me an error that the workflow is missing.

any ideas?

$content = get-content C:\Users\xxx\Documents\rsync-repl\servers.txt

$vms = get - vm $content | get-opinion

$suspend = get - vm $vms.name | suspend-vm-confirm: $False

$myColVM = @)

{foreach ($vm to $vms)

$MyObjVM = "" | Select-Object Name, VolumePath, folder_name, path

$MyObjVM.Name = $vm.name

$MyObjVM.VolumePath = $vm.config.datastoreurl.url

$MyObjVM.FolderName = ((($vm.)) (Summary.Config.VmPathName). Split(']') [1]). Split('/')) [0]. TrimStart(' ')

$MyObjVM.path = $MyObjVM.VolumePath+"/"+$MyObjVM.FolderName

$myColVM += $MyObjVM

}

$Plink = "C:\Users\xxx\Documents\rsync-repl\plink.exe".

$pass = Read-Host "enter the Pass" - AsSecureString

$SSTU = [System.Runtime.InteropServices.Marshal]: SecureStringToCoTaskMemUnicode ($pass)

$Password = [System.Runtime.InteropServices.Marshal]: PtrToStringUni ($SSTU)

$vmhost = "xxxx".

{foreach ($path in $myColVM.path)}

$plinkC = ' - ssh $vmhost-l root - pw $password Pei 22'

$Command1 = ' rsync - remove - arvh - courses - exclude ' *.» ' * Journal '-exclude ' * .vmem '-'*.vmss' exclude - exclude' * .vmsd ' - non-ensemble-files - $path sparse rsync://xxxxxxx/ $vmhost.

$plinkconnect = "$plinkC".

$plinkoptions = "$plinkC $Command1".

$PlinkCache = [string]: Format ('echo y | & "{0}" {1} exit ', $plink, $plinkconnect)

$PlinkCommand = [string]: Format ("&" {0} "{1}", $plink, $plinkoptions)

$invokePlinkCache = expression to call $PlinkCache

$InvokePlinkCommand = Invoke-Expression $PlinkCommand | out-file 'C:\Users\xxx\Documents\rsync-repl\clients\$vmhost '.

$Resume = get - vm $vms.name | Start-vm-confirm: $False

}

THX

Max

Take a look at my post Workflows of PowerShell and PowerCLI .

Maybe that can help.

Tags: VMware

Similar Questions

  • Update Manager PowerCLI - parallel cleanup

    Hi all

    I'm trying to get a fairly good automated script work to update / correct dozens of clusters of ESXi.

    We would like to use the parallel remediation option, do a few parallel corrective measures:

    $cluster | Remediate-Inventory -Baseline $baselines -ClusterEnableParallelRemediation:$true  

    The GUI we can limit the number of hosts at the same time restored to a fixed number of hosts.

    I would use this option to limit to half of the numbers hosts in a cluster.

    But I can't find the option to use the PowerCLI inside...

    A knowledge that this option is available and usable from PowerCLI?

    Thank you and best regards,

    Harold

    @hharold

    As I know there is no option with the cmdlet.

    But you can remidiate your servers in batches.

    Suppose you have a table with all the objects in your server, then you might make a loop

    $nrParallel = 4 $array = $cluster | Get-VMHost
    $endLoop = [math]::Floor($array.Count/$nrParallel)
    if($array.Count%$nrParallel -eq 0){
        $endLoop -= 1}
    
    foreach($i in (0..$endLoop)){
        Remediate-Inventory -Entity $array[($i * $nrParallel)..((($i + 1) * $nrParallel) - 1)] -Baseline $baselines -ClusterEnableParallelRemediation:$true
    }
    

    Try first with the setting - WhatIf

    Update: correction to the logic

  • PowerCli mass command to disable a specific NIC on the VMS 2000 +?

    Hello.

    Small question

    We are running

    ESXi version 5.5U3 and Vsphere 5.5

    We have 2000 + VM with a specific network card called VLANXXX (normal vswitch - undistributed)

    It has been used for our former backup system which was IP based and is now is no longer necessary that we went to a snapshot based backup system.

    I have an excerpt from a list of all virtual machines with this this adapter in a CSV / text format

    for example

    Server1

    Server2

    Server3

    is it possible to generate scripts an order essentially watch the folder and then go ahead and 'Disconnect a nic VLANXXX' (both on the power and the current connected state)?

    Once its been disconnected and left it that way for a week. the plan must then run another script to delete this completely on each virtual machine NIC.

    I had a search around but was unable to find anything which could do this

    Any suggestion would be great.

    You can try something like this

    $pgName = "VLANxx".

    $vms = get-VM-name (Import-Csv names.csv - UseCulture)

    Get-NetworkAdapter - VM $vms | where {$_.NetworkName - eq $pgName} |

    Set-NetworkAdapter-connected: $false - StartConnected: $false - confirm: $false

  • To run commands ESX using PowerCLI

    Hello

    Please can someone help to get a script to run by Powercli ESX commands and capture the output of the Excel sheet. For example, I want to run esxcfg-mpath - l on all servers in the vCenter, and get the result in the worksheet Excel in a neat way.

    There are more that 100 ESX host, also is painful run these commands on each of them one by one.

    Thank you.

    Nick

    In the case of esxcfg-mpath command is not so difficult to produce objects of the output.

    Something like this should do the trick

    Add-vCLIfunction
    $env:VI_USERNAME="root" $env:VI_PASSWORD="password"
    
     $result = foreach($esx in Get-VMHost){
      esxcfg-mpath -l --server $esx.Name | %{
            if($_.Length -gt 0){
                if($_.Contains(': ')){
                    $temp = $_.Split(':')
                    Add-Member -InputObject $obj -Name $temp[0].Trim() -Value $temp[1].Trim() -MemberType NoteProperty
                }
                else{
                    $obj = New-Object PSObject -Property @{
                        VMHost = $esx.Name
                        Name = $_                }
                }
            }
            else{
                $obj        }
        }
        $obj}
    
    $result | Export-Csv "C:\mpath.csv" -NoTypeInformation -UseCulture
    

    Note that this works that for the esxcfg-mpath-l command, other commands produce different output.

    And should be analyzed first of all the output.

  • Can write us "PowerCLI Script" to get the details of card RAID HP (Firmware & Driver)?

    Can write us "PowerCLI Script" to get the details of card RAID HP (Firmware & Driver)

    For example: native ESX command below shows desired output for me.

    But we needed equality PowerCLI ESX command below script

    # cat/proc/driver/cciss/cciss0

    cciss0: HP Smart Array P400i controller

    Board ID: 0x3235103c

    Firmware version: 7.22# cat/proc/driver/hpsa/hpsa0

    hpsa0: HP Smart Array P410i controller

    Board ID: 0x3245103c

    Firmware version: 5,70

    Driver version: HP HPSA driver (v 5.0.0 - 17vmw)

    The extracted following PowerCLI you will get server and type of controller, firmware version and the hpsa/Smart Storage Array controllers driver version based of:

    Get-VMhost | Sort | Select Name, Model,@{N='Controller Type'; E={(Get-VMHostHba -VMHost $_ | ? {$_.Model -imatch '.*(hpsa|smart).*'}).Model}},@{N='Controller Firmware'; E={($_.ExtensionData.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo | ? {$_.Name -like '*hpsa*firmware*'}).Name}},@{N='hpsa Driver Version'; E={($_.ExtensionData.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo | ? {$_.Name -like '*scsi-hpsa*'}).Name}} | Format-Table -Autosize
    

    The sample output:

    
    Name                     Model                Controller Type   Controller Firmware                           hpsa Driver Version----                     -----                ---------------   -------------------                           -------------------esxihost1022.local    ProLiant DL380 G6    Smart Array P410i    HP Smart Array Controller HPSA1 Firmware 6.40    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1023.local    ProLiant DL380 G6    Smart Array P410i    HP Smart Array Controller HPSA1 Firmware 6.40    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1024.local    ProLiant DL380 G6    Smart Array P410i    HP Smart Array Controller HPSA1 Firmware 6.40    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1033.local    ProLiant DL360p Gen8    Smart Array P420i    HP Smart Array Controller HPSA1 Firmware 5.42    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1034.local    ProLiant DL360p Gen8    Smart Array P420i    HP Smart Array Controller HPSA1 Firmware 5.42    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1041.local    ProLiant DL380 G5    Smart Array P400    HP Smart Array Controller HPSA1 Firmware 7.24    VMware scsi-hpsa 5.0.0-17vmw.500.0.0.469512 2011-08-19 01:58:59.000esxihost1042.local    ProLiant DL380 G5    Smart Array P400    HP Smart Array Controller HPSA1 Firmware 7.24    VMware scsi-hpsa 5.0.0-17vmw.500.0.0.469512 2011-08-19 01:58:59.000esxihost1160.local    ProLiant BL460c Gen8    Smart Array P220i    HP Smart Array Controller HPSA1 Firmware 5.22    Hewlett-Packard scsi-hpsa 5.0.0-40OEM.500.0.0.472560 2012-08-24 21:04:51.000esxihost1161.local    ProLiant BL460c Gen8    Smart Array P220i    HP Smart Array Controller HPSA1 Firmware 5.22    Hewlett-Packard scsi-hpsa 5.0.0-40OEM.500.0.0.472560 2012-08-24 21:04:51.000
    
  • Can be parallelized Alter the dimensions of the column to change tables

    Hi all

    Can be parallelized Alter tables to the dimensions of the column to change.

    I was able to set the explain plan of parallelized command CREATE INDEX and CREATE TABLE STATEMENTS and view the plan of the explain command.
    But when I try to apply the market in PARALLEL for an ALTER TABLE to change column size, explain the plan is a failure.

    Ex:
    EXPLAIN THE PLAN TO ALTER / * + PARALLEL (10) * / EMP_BLKP_1 TABLE MODIFY ENAME VARCHAR2 (40);
    ORA-00900: invalid SQL statement

    But when I run the alter even outside the plan to explain that it works very well. But I don't know if parallelism is applied for that change the order.

    Receive your answer.

    Thank you
    NKM

    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/sql_elements006.htm#SQLRF50801

    >
    The PARALLEL indicator tells the optimizer to use the specified number of concurrent servers for parallel operation. The indication applies to SELECT it, INSERT, MERGE, update, and DELETE portions of a declaration, as well as for the table scan part. If no parallel restriction is violated, the flag is ignored.

  • Get "specified VMs is not found" when using Add-ManualPool in view PowerCLI

    Add-ManualPool-pool_id MyPoolName displayName - MyDisplayName - powerPolicy AlwaysOn - autoLogoffTime immediately - isUserResetAllowed 1 - allowMultipleSessions 1 - vc_id ' % IDREMOVED % ' defaultProtocol - PCOIP - allowProtocolOverride 1 - id ' VirtualMachine-VM-75557 "»

    This is the command I am trying to use.  I am just running directly in with the cmdlet view loaded PowerCLI powershell command window.  The Virtual Machine name (-id) is obtained using the command Get-DesktopVM, so I know it's good.  I tried with a couple of virtual machines.  The query Get-DesktopVM also States that isInPool = false so that can't be buggered me upward.

    Here is my result when you use the command above.

    Add-ManualPool: PowershellService::AddManualPool FAILED, error = one or more of the specified virtual machines is not found. Continued lack of VM-75557
    On line: 1 char: 15
    + Add ManualPool < < < < - pool_id MyPoolName displayName - MyDisplayName-AlwaysOn - autoLogoffTime immediately - isUserResetAllowed power politics 1 - allowMultipleSessions 1 - vc_id ' % IDREMOVED % ' defaultProtocol - PCOIP - allowProtocolOverride 1 - id ' VirtualMachine-VM-75557 "»
    + CategoryInfo: InvalidResult: (vmware.view.pow... s.AddManualPool:AddManualPool) [Add ManualPool], Exception
    + FullyQualifiedErrorId: PowershellService::AddManualPool FAILED, vmware.view.powershell.cmdlets.AddManualPool

    Thanks in advance for any guidance.  It seems that everything simply, it does not find the virtual machine... but the name is correct, and various data collection 'get' commands work with this ID. VM unfortunately, not much good information out there on view PowerCLI and diddly for Add-ManualPool examples.

    Just tried this and I think that the field id is case-sensitive - you must use a virtual machine in tiny i.e. VirtualMachine-vm-75557

    Mike

  • My concerns about installing ESXi on a USB Flash Disk

    Hello!

    There was a lot of messages about installing esxi hypervisor on a usb flash drive, what I've done and I think it's ok because there's no need to waste expensive disks for installation of a very light bone

    But I have a few questions and concerns in this regard. appreciate your answers.

    1 - first of all I can't find my DL380 G7 Server internal usb. can someone give me a link or a picture where he is exactly?

    2 - Suppose that after boot completely the host, something happens on the usb drive. If nothing happens? I think there should be nothing to worry about, because the hypervisor has been loaded into the memory of the server. Am I wrong?

    3 - my concern is to have backup and the ability to restore that very quickly. some time in the past I had a single esxi host. I used powercli and commands appropriate for configuration backup host (I think that the command was something like esx-cfgbackup or like that).

    so if the flash has been corrupted, I would replace it with another and restored the settings that

    but now I host 4 esxi and vcenter. should I worry about this? How should I have backup? I know that SQL backup database of vcenter and its certificate is sufficient to have a backup of the settings of vcenter but on those who are just to vcenter and which are on the host? just want to say, what should I do to be able to replace a faulty usb disk (esxi is on it) with a new and all get back to work as it was?

    Sorry if the questions are easy to answer. I'm just a beginner

    and sorry for my bad English

    Assuming that I don't have the license for the host profiles, what should I do?

    It depends on the complexity of the configuration of the host. You can back up the configuration of the individual hosts or just reconfigure reinstalled once. In a larger environment, you'd probably for example the hosts scripted installation.

    Because the server vCenter Server usually runs as a virtual machine, it is a good idea to do an image based backup (using backup vDR or 3 rd-party applications), and - in the case where you use a dedicated SQL Server - certainly back up the database. For the backup and restoration of vCenter Server, you can also take a look at http://kb.vmware.com/kb/1023985.

    In the rare cases where an SD card fails, you can always vMotion virtual machines to another host and then reinstall the host with a new SD card.

    André

  • PowerShell, how to deploy ovf

    What powercli powershell commands, I use to perform a deployment of the FVO?

    Please show me an example

    Thank you

    The cmdlet Import-VAPP stipulates that, for the Source parameter, you can provide a FVO or a file of EGGS.

  • ESXi 3.5 to 4.1 upgrade

    Guys,

    I plan on upgrading an ESXi 3.5.0 (build 213532) to 4.1 and have some questions?

    Is it possible to go directly 3.5 to 4.1?

    I intend to make a place in the upgrade is that possible, while I keep my current config?

    Which method should I use, I think to do so via powercli using commands to update host?

    Thanks in advance for any help you guys can provide.

    Yes - it should be a relatively simple upgrade (especially if you have VUM)

    Just make sure that you upgrade your VC to the latest version first!

    If you do not have VUM - you can try this: http://www.get-virtual.info/2011/03/24/436/

  • The appeal of commands Powercli from c#

    Hello

    Is it possible to use commands powercli of c#?. Like how we are specifying the command in the console Powercli,

    "Connect-VIServer-Server 172.17.21.51 - protocol https-user-word pass pass - Port 883". is it possible

    write the same command in c# and connect to the server and perform similar actions, such as Get - vm, New - VM etc.

    Thank you

    Yes, you can create a virtual model computer.

    In PowerCLI which would be with the New-VM cmdlet, in the API, it would be CloneVM_Task method

    There is a set of pointers and samples in HowTo: beginners tips for using the vSphere API in c#

    Unfortunately none on the CloneVM_Task

  • How to produce the result of the PowerCLI command in an email?


    Hello world

    Can someone give me help with this example. I started working with PowerCLI and I struggle out of my result in an e-mail message.

    How can I store my result in the array and import the data in HTML in an email?

    In the example below, I don't see any results in the email of the powercli command "Get - VM |" Select-Object Name, NumCPU, MemoryMB, ProvisionedSpaceGB.

    I have to create a loop to retrieve the result?

    # - CHANGE THESE VALUES.
    $SMTPServer = "SMTP.toto.com".
    $vCenterServerName1 = "vsphere1.toto.com".
    $ToAddress = [email protected]
    #-----------------------------------------------------------------------------

    $Title = "connection settings for vCenter.
    $Author = "lady".
    $Header = "connection settings".

    $Login = [email protected]# for domain WHICH
    $Password = "xxxxxxxxxx #

    Add-pssnapin VMware.VimAutomation.Core

    $HTMLHeader = "< HTML > < report VMware TITLE > < /title >"
    $HTMLFooter = 'Made with the Script POWERSHELL 2.0 - Version of the script' + $ScriptVersion + ' < / HTML > ".

    $ScriptVersion = "v1.0".
    $Subject = 'VMware - VM inventory report'
    $FromAddress = "VMware" + "@ foo.com.

    $ColorArray = 'Red', 'Orange', 'Purple', 'Blue', 'Olive', 'SlateGrey', 'Orange', 'Purple', 'Blue', 'Olive '.
    $ColorArrayIndex = 0

    $HTMLHeader = "< HTML > < TITLE > VMware Report for ' + $vCenterServerName1 ' < / TITLE >.
    $HTMLFooter = "Made with POWERCLI Script 5.0" - + $Author + ".." < br > < br > ".
    $HTMLFooter += ' < B > NOTE: < /B > $Date < / HTML > ".


    $HTMLBody = "< BODY >".

    $vCenter_inventory = @(get-VM |) Name Select-Object, NumCPU, MemoryMB, ProvisionedSpaceGB)

    ################################### OUTPUT #######################################

    # HEADER
    $HTMLBody += CreateHeader ("REPORT for < font color = blue > < b > vCENTER" + $vCenterServerName1 + ' < / police > < / b > < br > "" ")

    # INTRO TEXT

    $HTMLBody += ' < br br > > <.
    $HTMLBody += $vCenter_inventory


    # SEND THE REPORT BY E-MAIL.
    $HTMLBody += ' < / BODY > "# close HTML body
    $HTMLPage = $HTMLHeader + $HTMLBody + $HTMLFooter
    Send-Mailmessage-to $FromAddress - to $ToAddress - subject $Subject - BodyAsHTML-body $HTMLPage - normal priority - SmtpServer $SMTPServer
    Write-Host "report was sent by E-mail to '$ToAddress' to ' $FromAddress
    ################################### CLEANUP #######################################

    $HTMLHeader = «»
    $HTMLBody = «»
    $HTMLFooter = «»
    $HTMLPage = «»
    $vCenter1_Inventory = «»
    $vCenterServerName1 = «»

    -Very well, cutting some of your code, it works for me in any case:

    # This sets the format of the HTML table

    "$Header = @".

    TITLE


    "@

    # The data collection

    $vCenter_inventory = get - VM | Select-Object Name, NumCPU, MemoryMB, ProvisionedSpaceGB

    # Convert to HTML format

    $HTML = $vCenter_inventory | ConvertTo-HTML-Fragment

    # Prepare Mail Message

    $Message = "from the random text."

    "$Body = $Header +""+ $Message +"

    "+ $HTML +""

    $smtpServer = "smtpserver".

    $HostName = $env: ComputerName

    $From = $HostName + "@littlenickey.se."

    $To = "[email protected]".

    # Send Message

    Send-MailMessage - SmtpServer $smtpServer - $From - to $To - subject $Subject - body $Body - BodyAsHtml

    This should give you a little nicer output in the form of a table.

  • Missing commands PowerCLI

    I use PowerCLI PowerShell ISE.  Version 4 of PowerShell.  PowerCLI Version 5.5 R1.

    I've noticed that I'm missing a few commands PowerCLI to the LSE, but not when I open directly the vSphere PowerCLI.

    I'm missing commands: Get-PowerCLIHelp, Get-VICommand, Get-PowerCLICommunity.

    It's weird, as when I opened ISE, I immediately run the following command.  Add-PSSnapin vmware.vimautomation.core

    I do not have use of the commands PowerCLI, but miss me some in ISE.


    What should I do to run all commands PowerCLI?

    I would like to work with this in PowerShell ISE because I spend PowerCLI PowerShell.


    Thank you

    Here are a few functions defined in the initialization script.

    No pssnapin nor the module I'm afraid.

  • Definition of syslog by PowerCLI, command worked in vSphere R2 5.5 does not work in the 6

    Hello, I have a few problem of configuration of a host via PowerCLI in vSphere 6.0.  This command worked in vSphere 5.5 R2:

    Get-AdvancedSetting - entity (Get-vmhost) - name syslog.global.logDir | game-advancedsetting - value ' [IOMEGA] zero/journal "-confirm: $false

    I get the error at the bottom of the screen.  Here's what's strange, this command works:

    Get-AdvancedSetting - entity (Get-vmhost) - name syslog.global.logDir *.

    However, this command returns an error:

    PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI > Get-AdvancedSetting - entity (Get-vmhost) - name syslog.global.logDir

    Get-AdvancedSetting: 14/04/2015-13:11:49 get option AdvancedSetting 'syslog.global.logDir' does not exist. On line: 1 char: 1 + Get-AdvancedSetting - entity (Get-vmhost) - name syslog.global.logDir + ~ ~ ~ + CategoryInfo: InvalidArgument: (:)) [Get-AdvancedSetting], Inva lidName + FullyQualifiedErrorId: Client20_SystemManagementServiceImpl_ConvertToHa shtable_OptionNotFound, VMware.VimAutomation.ViCore.Cmdlets.Commands.GetAdv ancedSetting)

    I tried Get-AdvancedSetting-entity (Get-vmhost) - name "syslog.global.logDir" which does not work. Any ideas I can try? Thank you, Duncan.

    No, it is not with this advanced specific setting. That it is not when you are connected to an ESXi host.

  • Get-PAF * commands PowerCLI 5.8 R1 throws the error message "State HTTP 400: bad request".

    I've recently updated to PowerCLI 5.8 R1 and wanted to try the new cmdlts of PAF, but however, I go to this topic I seem to get error regardless of what below PAF Get * cmdlet I run:

    Get-SpbmStoragePolicy: 2014-12-11 14:04:50 Get-SpbmStoragePolicy therequest failed stateful HTTP 400: bad request.

    On line: 1 char: 1

    + Get-SpbmStoragePolicy

    + ~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: NotSpecified: (:)) [Get-SpbmStoragePolicy], VimExreception )

    + FullyQualifiedErrorId: Core_BaseCmdlet_UnknownError, VMware.VimAutomatio n.Storage.Commands.Cmdlets.Spbm.GetStorageProfile

    I tried to connect to the VC with the HTTPS setting - but same error Protocol.

    I thought that maybe the snap of storage had not been imported but it seems to be there:

    PowerCLI C:\ > Get-PSSnapin. Select name

    Microsoft.PowerShell.Diagnostics

    Microsoft.PowerShell.Core

    Microsoft.PowerShell.Utility

    Microsoft.PowerShell.Host

    Microsoft.PowerShell.Management

    Microsoft.PowerShell.Security

    Microsoft.WSMan.Management

    VMware.VimAutomation.Core

    VMware.VimAutomation.Vds

    VMware.VimAutomation.License

    VMware.DeployAutomation

    VMware.ImageBuilder

    VMware.VimAutomation.Storage

    I run PS4.0 with PCLI 5.8R1:

    PowerCLI C:\ > Get-VIToolkitVersion

    PowerCLI Version

    VMware vSphere PowerCLI 5.8 Release 1 build 2057893

    ---------------

    Versions of the snap

    VMWare AutoDeploy PowerCLI component 5.5 build 1983942

    VMWare ImageBuilder PowerCLI component 5.5 build 1983942

    License of VMware PowerCLI component 5.5 build 1265954

    VMware Storage PowerCLI component 5.8 build 2057894

    VMware PowerCLI VDS component 5.8 build 2031581

    VMware vSphere PowerCLI component 5.8 build 2031581

    VSphere VMware Update Manager PowerCLI 5.5 build 1302474

    PowerCLI C:\ > $psversiontable

    Value name

    PSVersion 4.0

    WSManStackVersion 3.0

    SerializationVersion 1.1.0.1

    CLRVersion 4.0.30319.18063

    BuildVersion 6.3.9600.16406

    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}

    PSRemotingProtocolVersion 2.2

    I am running PowerCLI on a Win2k8Ent server, not locally on the vCenter.

    Any ideas? Why should he use HTTP? 5.5 and older commands work properly.

    It seems that you use vCenter 5.1, is that correct?

    Please note that the PAF for PowerShell support is for vCenter 5.5 and higher.  Prior to 5.5, the PAF API was not public.

    Alex

Maybe you are looking for