Getting Started with VMware.VimAutomation.Common Module

Provides functionality that is common to all PowerCLI modules. This module has no cmdlets, but is required for other modules to function correctly.

Step 1: Try a GET Command 

For example when successfully connected you can run the Get-Task command.
Import-Module VMware.VimAutomation.Core
$server = Connect-VIServer -Server
$task = Get-Task -Server $server -Status Error

Was this page helpful?