PowerCLI

 View Only

What's New

  • New PowerCLI Community

    Welcome back to the new PowerCLI Community.   We are working hard with the developers to fix the code insert issue many of you reported.   This formatted code on the previous platform but did not convert well so we are working patching all posts.   I appreciate your patience.   @Jason McClellan, Platform Admin

Search Community

Latest Discussions

  • Update: Finally for me, is the easiest way to delete vSAN disk groups BEFORE the esx host will be removed from the cluster. If it was not correctly completed, I use SSH and kill vSAN partitions for my MICRON NVMEs so: 1) Check your SSDs: vdq ...

  • vCenter connect start try { Disconnect-ViServer -server * -EA Stop -Confirm:$FALSE} catch [VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException.ServerObnFailureException] { Write-host "Were not connected to any server." -f Yellow } ...

Latest Q&A List

  • ITSavant's profile image

    RE: Can PowerCLI be used to set Standby Response for ...

    While I haven't tested this, maybe this will put you on the right track for automation: $VM = Get-VM -Name "MyVM" $Spec = ...

  • ITSavant's profile image

    RE: move-vm with multiple adapters to a new destination ...

    That cmdlet can accept and process an array of vNics, as opposed to individual items, William L. did an article about it years ...

Recent Shared Files List

  • Posted in: PowerCLI

  • Posted in: PowerCLI

  • Posted in: PowerCLI

  • Posted in: PowerCLI

  • Posted in: PowerCLI

Unanswered Threads

  • Posted in: PowerCLI

    Hi, I've been using the following code to create a virtual machine replication: $ReplicationSpec = Initialize-VrConfigureReplicationSpec ` -Rpo 60 ` -NetworkCompressionEnabled:$false ` -MpitEnabled:$false ` -AutoReplicateNewDisks:$true ` -LwdEncryptionEnabled:$false ...

  • Posted in: PowerCLI

    I can do this in vcenter trivially Connect-VIServer -Server vcenter1.local.com -Credential $c2 $name = "BeforeUpdate_" + $ds $description = "Snapshot taken before the " + $ds + " patch installation" New-Snapshot -VM "CONCERT-s7T3" -Name $name ...