PowerCLI v5 is available today, download it NOW!

Powershell

Run, don’t walk to vmware.com/go/powercli to grab the latest version of the world’s best PowerShell snapin. That’s right, v5 is out and you can grab it now! And the coolest part is that while nobody will have vSphere 5 in production on day one (ok, there’s a couple of you out there), PowerCLI v5 is a client-based tool with no dependencies, and it’s downwards-compatible! There is literally no reason for you not to upgrade right this instant! I am using exclamations here, people!

I’ve had beta builds installed for some time, but I didn’t want to do blog posts based on pre-release builds for fear that things would change. Now that it’s out, I’ll start pushing out some posts about what’s new and all that, so stay tuned. For now, some quick stats and info:

There are now FOUR VMware snap-ins installed with PowerCLI v5:

PowerCLI U:\> Get-PSSnapin vmware*

Name        : VMware.VimAutomation.Core
PSVersion   : 2.0
Description : This Windows PowerShell snap-in contains Windows PowerShell cmdlets for managing vSphere.

Name        : VMware.VimAutomation.License
PSVersion   : 2.0
Description : This Windows Powershell snap-in contains cmdlets for managing License components.

Name        : VMware.DeployAutomation
PSVersion   : 2.0
Description : Cmdlets for Rule-Based-Deployment

Name        : VMware.ImageBuilder
PSVersion   : 2.0
Description : This Windows PowerShell snap-in contains VMware ESXi Image Builder cmdlets used to generate custom images.

There are 293 cmdlets in total across these snap-ins. Here they are, grouped by Noun and Verb:

PowerCLI U:\> $c = Get-Command -Module vmware*
PowerCLI U:\> $c.Length
293
PowerCLI U:\> $c | group verb

Count Name                      Group
—– —-                      —–
    6 Add                       {Add-DeployRule, Add-EsxSoftwareDepot, Add-E…
    3 Apply                     {Apply-DrsRecommendation, Apply-ESXImageProf…
    1 Compare                   {Compare-EsxImageProfile}
    1 Connect                   {Connect-VIServer}
    4 Copy                      {Copy-DatastoreItem, Copy-DeployRule, Copy-H…
    1 Disconnect                {Disconnect-VIServer}
    1 Dismount                  {Dismount-Tools}
    3 Export                    {Export-EsxImageProfile, Export-VApp, Export…
    1 Format                    {Format-VMHostDiskPartition}
   95 Get                       {Get-AdvancedSetting, Get-AlarmAction, Get-A…
    2 Import                    {Import-VApp, Import-VMHostProfile}
    1 Install                   {Install-VMHostPatch}
    1 Invoke                    {Invoke-VMScript}
    1 Mount                     {Mount-Tools}
    9 Move                      {Move-Cluster, Move-Datacenter, Move-Folder,…
   37 New                       {New-AdvancedSetting, New-AlarmAction, New-A…
   42 Remove                    {Remove-AdvancedSetting, Remove-AlarmAction,…
    2 Repair                    {Repair-DeployImageCache, Repair-DeployRuleS…
    4 Restart                   {Restart-VM, Restart-VMGuest, Restart-VMHost…
   58 Set                       {Set-AdvancedSetting, Set-AlarmDefinition, S…
    1 Shutdown                  {Shutdown-VMGuest}
    4 Start                     {Start-VApp, Start-VM, Start-VMHost, Start-V…
    5 Stop                      {Stop-Task, Stop-VApp, Stop-VM, Stop-VMHost…}
    3 Suspend                   {Suspend-VM, Suspend-VMGuest, Suspend-VMHost}
    1 Switch                    {Switch-ActiveDeployRuleSet}
    3 Test                      {Test-DeployRuleSetCompliance, Test-VMHostPr…
    1 Update                    {Update-Tools}
    2 Wait                      {Wait-Task, Wait-Tools}

PowerCLI U:\> $c | group noun

Count Name                      Group
—– —-                      —–
    6 DeployRule                {Add-DeployRule, Copy-DeployRule, Get-Deploy…
    2 EsxSoftwareDepot          {Add-EsxSoftwareDepot, Remove-EsxSoftwareDepot}
    3 EsxSoftwarePackage        {Add-EsxSoftwarePackage, Get-EsxSoftwarePack…
    3 PassthroughDevice         {Add-PassthroughDevice, Get-PassthroughDevic…
    9 VMHost                    {Add-VMHost, Get-VMHost, Move-VMHost, Remove…
    3 VmHostNtpServer           {Add-VmHostNtpServer, Get-VMHostNtpServer, R…
    2 DrsRecommendation         {Apply-DrsRecommendation, Get-DrsRecommendat…
    6 ESXImageProfile           {Apply-ESXImageProfile, Compare-EsxImageProf…
    7 VMHostProfile             {Apply-VMHostProfile, Export-VMHostProfile, …
    2 VIServer                  {Connect-VIServer, Disconnect-VIServer}
    1 DatastoreItem             {Copy-DatastoreItem}
    5 HardDisk                  {Copy-HardDisk, Get-HardDisk, New-HardDisk, …
    1 VMGuestFile               {Copy-VMGuestFile}
    4 Tools                     {Dismount-Tools, Mount-Tools, Update-Tools, …
    9 VApp                      {Export-VApp, Get-VApp, Import-VApp, Move-VA…
    2 VMHostDiskPartition       {Format-VMHostDiskPartition, Get-VMHostDiskP…
    4 AdvancedSetting           {Get-AdvancedSetting, New-AdvancedSetting, R…
    3 AlarmAction               {Get-AlarmAction, New-AlarmAction, Remove-Al…
    3 AlarmActionTrigger        {Get-AlarmActionTrigger, New-AlarmActionTrig…
    2 AlarmDefinition           {Get-AlarmDefinition, Set-AlarmDefinition}
    2 Annotation                {Get-Annotation, Set-Annotation}
    4 CDDrive                   {Get-CDDrive, New-CDDrive, Remove-CDDrive, S…
    5 Cluster                   {Get-Cluster, Move-Cluster, New-Cluster, Rem…
    4 CustomAttribute           {Get-CustomAttribute, New-CustomAttribute, R…
    5 Datacenter                {Get-Datacenter, Move-Datacenter, New-Datace…
    4 Datastore                 {Get-Datastore, New-Datastore, Remove-Datast…
    1 DatastoreCluster          {Get-DatastoreCluster}
    2 DeployRuleSet             {Get-DeployRuleSet, Set-DeployRuleSet}
    4 DrsRule                   {Get-DrsRule, New-DrsRule, Remove-DrsRule, S…
    1 ErrorReport               {Get-ErrorReport}
    1 EsxCli                    {Get-EsxCli}
    1 EsxSoftwareChannel        {Get-EsxSoftwareChannel}
    1 EsxTop                    {Get-EsxTop}
    4 FloppyDrive               {Get-FloppyDrive, New-FloppyDrive, Remove-Fl…
    5 Folder                    {Get-Folder, Move-Folder, New-Folder, Remove…
    1 HAPrimaryVMHost           {Get-HAPrimaryVMHost}
    3 Inventory                 {Get-Inventory, Move-Inventory, Remove-Inven…
    4 IScsiHbaTarget            {Get-IScsiHbaTarget, New-IScsiHbaTarget, Rem…
    1 LicenseDataManager        {Get-LicenseDataManager}
    1 Log                       {Get-Log}
    1 LogType                   {Get-LogType}
    4 NetworkAdapter            {Get-NetworkAdapter, New-NetworkAdapter, Rem…
    2 NicTeamingPolicy          {Get-NicTeamingPolicy, Set-NicTeamingPolicy}
    4 OSCustomizationNicMapping {Get-OSCustomizationNicMapping, New-OSCustom…
    4 OSCustomizationSpec       {Get-OSCustomizationSpec, New-OSCustomizatio…
    2 PowerCLIConfiguration     {Get-PowerCLIConfiguration, Set-PowerCLIConf…
    1 PowerCLIVersion           {Get-PowerCLIVersion}
    5 ResourcePool              {Get-ResourcePool, Move-ResourcePool, New-Re…
    3 ScsiController            {Get-ScsiController, New-ScsiController, Set…
    2 ScsiLun                   {Get-ScsiLun, Set-ScsiLun}
    2 ScsiLunPath               {Get-ScsiLunPath, Set-ScsiLunPath}
    4 Snapshot                  {Get-Snapshot, New-Snapshot, Remove-Snapshot…
    1 Stat                      {Get-Stat}
    4 StatInterval              {Get-StatInterval, New-StatInterval, Remove-…
    1 StatType                  {Get-StatType}
    3 Task                      {Get-Task, Stop-Task, Wait-Task}
    5 Template                  {Get-Template, Move-Template, New-Template, …
    2 UsbDevice                 {Get-UsbDevice, Remove-UsbDevice}
    1 VIAccount                 {Get-VIAccount}
    3 VICredentialStoreItem     {Get-VICredentialStoreItem, New-VICredential…
    1 VIEvent                   {Get-VIEvent}
    1 View                      {Get-View}
    1 VIObjectByVIView          {Get-VIObjectByVIView}
    4 VIPermission              {Get-VIPermission, New-VIPermission, Remove-…
    1 VIPrivilege               {Get-VIPrivilege}
    3 VIProperty                {Get-VIProperty, New-VIProperty, Remove-VIPr…
    4 VIRole                    {Get-VIRole, New-VIRole, Remove-VIRole, Set-…
    4 VirtualPortGroup          {Get-VirtualPortGroup, New-VirtualPortGroup,…
    4 VirtualSwitch             {Get-VirtualSwitch, New-VirtualSwitch, Remov…
    9 VM                        {Get-VM, Move-VM, New-VM, Remove-VM…}
    4 VMGuest                   {Get-VMGuest, Restart-VMGuest, Shutdown-VMGu…
    2 VMGuestNetworkInterface   {Get-VMGuestNetworkInterface, Set-VMGuestNet…
    3 VMGuestRoute              {Get-VMGuestRoute, New-VMGuestRoute, Remove-…
    4 VMHostAccount             {Get-VMHostAccount, New-VMHostAccount, Remov…
    2 VMHostAdvancedConfigur… {Get-VMHostAdvancedConfiguration, Set-VMHost…
    1 VMHostAttributes          {Get-VMHostAttributes}
    2 VMHostAuthentication      {Get-VMHostAuthentication, Set-VMHostAuthent…
    1 VMHostAvailableTimeZone   {Get-VMHostAvailableTimeZone}
    2 VMHostDiagnosticPartition {Get-VMHostDiagnosticPartition, Set-VMHostDi…
    1 VMHostDisk                {Get-VMHostDisk}
    2 VMHostFirewallDefaultP… {Get-VMHostFirewallDefaultPolicy, Set-VMHost…
    2 VMHostFirewallException   {Get-VMHostFirewallException, Set-VMHostFire…
    2 VMHostFirmware            {Get-VMHostFirmware, Set-VMHostFirmware}
    2 VMHostHba                 {Get-VMHostHba, Set-VMHostHba}
    1 VMHostImageProfile        {Get-VMHostImageProfile}
    1 VMHostMatchingRules       {Get-VMHostMatchingRules}
    2 VMHostModule              {Get-VMHostModule, Set-VMHostModule}
    2 VMHostNetwork             {Get-VMHostNetwork, Set-VMHostNetwork}
    4 VMHostNetworkAdapter      {Get-VMHostNetworkAdapter, New-VMHostNetwork…
    2 VMHostPatch               {Get-VMHostPatch, Install-VMHostPatch}
    1 VMHostProfileRequiredI… {Get-VMHostProfileRequiredInput}
    4 VMHostRoute               {Get-VMHostRoute, New-VMHostRoute, Remove-VM…
    5 VMHostService             {Get-VMHostService, Restart-VMHostService, S…
    3 VMHostSnmp                {Get-VMHostSnmp, Set-VMHostSnmp, Test-VMHost…
    2 VMHostStartPolicy         {Get-VMHostStartPolicy, Set-VMHostStartPolicy}
    2 VMHostStorage             {Get-VMHostStorage, Set-VMHostStorage}
    2 VMHostSysLogServer        {Get-VMHostSysLogServer, Set-VMHostSysLogSer…
    2 VMQuestion                {Get-VMQuestion, Set-VMQuestion}
    2 VMResourceConfiguration   {Get-VMResourceConfiguration, Set-VMResource…
    2 VMStartPolicy             {Get-VMStartPolicy, Set-VMStartPolicy}
    1 VMScript                  {Invoke-VMScript}
    3 CustomField               {New-CustomField, Remove-CustomField, Set-Cu…
    1 DeployImageCache          {Repair-DeployImageCache}
    2 DeployRuleSetCompliance   {Repair-DeployRuleSetCompliance, Test-Deploy…
    1 ActiveDeployRuleSet       {Switch-ActiveDeployRuleSet}
    1 VMHostProfileCompliance   {Test-VMHostProfileCompliance}

Leave a Reply

Your email address will not be published.