SlideShare a Scribd company logo
VMware ESXi 5.0 Reference                                                           ™




ESXCFG/               PowerCLI Cmdlet                      ESXCLI 5.0                         Boot Options                   ESXi                                                                                                                             ESXi Upgrade Path                                                                                              ESXCLI Name Spaces
                                                                                                                                        CIM broker         HA        NTP           syslog                           VM
VICFG
                                                                                                                                            CIM                                                                                                                                  Host on 32-bit
Command                                                                                               Stateless
                                                                                                      PXE                                providers        hostd      DCUI          vpxa         SNMP        VMX                  vSphere Client                                  or Incompatible                                                 Replace Server
                                                                                                                                                                                                                                                                                                                                                                                                                                                 esxcli5.0
                                                                                                                                                                                                                                                                                     Hardware
svmotion              Move-VM –Datastore                   No equivalent
                                                                                                                                                                                                                     VMM
esxcfg-advcfg         Get-VMHostAdvancedConfiguration       esxcli system settings advanced                                                   User mode API (fuller POSIX subset)                                                                                Running                                                                                                           fcoe          hardware           iscsi               network           software     storage     system           vm
vicfg-advcfg          Set-VMHostAdvancedConfiguration                                                                                                                                                                                                                                                    Host Running                            Upgrade to 4.x
                                                                                                      USB                                                                                                                          PowerCLI                    vCenter 5.0                              ESX/ESXi 3.5                                                           adapter         cpu             adapter                 fence             sources      core        boot          process
vicfg-cfgbackup       Get-VMHostFirmware                   No equivalent
                      Set-VMHostFirmware                                                                                                                                  Distributed               Virtual NIC                                                                                                                                                                nic             bootdevice      networkportal           firewall           acceptance   nmp         coredump
                                                                                                                                                                         VM file system               & Switch                                                                                                                                                                                  clock           physicalnetworkportal   ip                profile       vmfs        module
vicfg-dns             Get-VMHostNetwork                    esxcli network ip dns server
                                                                                                                                                      Resource                                                                                                                   Host on 64-bit                               Non-Upgradable                                                   memory          session                 vswitch           vib          filesystem   process
                      Set-VMHostNetwork                                                                                        VMkernel              Scheduling                                                                                                                   Compatible                                     Boot Disk
                                                                                                                                                                                                                                                                                                                                                 New 5.0 Install
                                                                                                                                                                                                                                                                                                                                                                                               pci             ibftboot                nic                            nfs         secpolicy
                                                                                                      SAN                                                                                                                                                                          Hardware
esxcfg-dumppart       Get-EsxCLI                           esxcli system coredump                                                                                        Storage Stack            Network Stack                   vMA/ESXCLI/                                                                                                                                                  platform        logicalnetworkportal                                               settings
                                                                                                                                                                                                                                     vCLI                                                                                                                                                                      plugin                                                             stats
vicfg-dumppart                                                                                                                                                                                                                                                                                                                                   Upgrade to 5.0
                                                                                                                                                                                                                                                                                                        Host Running                                                                                           software                                                           syslog
esxcfg-firewall        Get-VMHostFirewallDefaultPolicy      esxcli network firewall                                                                                                                                                                                                                       ESX/ESXi 4.x                              Using Update                                                                                                                    visorfs
                                                                                                                                                                                       Device Drivers
                      Get-VMHostFirewallException                                                                                                                                                                                                                                                                                                   Manager                                                                                                                       hostname
                      Set-VMHostFirewallDefaultPolicy                                             Local Disk                                                                                                                                                                                                                    Upgradable                                                                                                                                        time
                      Set-VMHostFirewallException                                                                                                                                                                                                                                                                                Boot Disk       Upgrade to 5.0                                                                                                                   uuid
vicfg-hostops         Get-VMHost                           No equivalent                                                                                                                                                                                                                                                                           Using ESXi                                                                                                                     version
                      Set-VMHost                                                                                                                                                                                                                                                                                                                                                                                                                                                  welcomemsg
                      Restart-VMHost
                                                                                                                                                                                                                                                                                                                                                    Installer
esxcfg-ipsec          No equivalent                        No equivalent
vicfg-ipsec
esxcfg-swiscsi
esxcfg-hwiscsi
                      Get-iScsiHBATarget
                      New-iScsiHBATarget
                                                           esxcli iscsi                      Performance and Troubleshooting                                                              Virtual Machine Commands                                                   Other Commands                                                             Network Commands                                                                         Storage Commands
vicfg-iscsi           Set-iScsiHBATarget
                      Remove-iScsiHBATarget                                                                                                                                               List Registered VMs (vCLI only)                                            Configure NTP                                                               vSwitches                                                                                 Scan Storage Devices
                                                                                             SCSI Performance Statistics (ESXi Shell only)
esxcfg-module         Get-EsxCLI                           esxcli system module              # vscsiStats {options}                                                                       # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> –l              Add NTP Server (vCLI only)                                                 List Defined Standard Virtual Switches                                                     # esxcli <conn_options> storage core adapter rescan
vicfg-module                                                                                                                                                                                                                                                         # vicfg-ntp <conn_options> --add <ip address>                              # esxcli <conn_options> network vswitch standard list
                                                                                             Show Open Ports (ESXi Shell only)                                                            Unregister a VM (vCLI only)                                                                                                                                                                                                                     VMFS
esxcfg-mpath          Get-ScsiLun                          esxcli storage core path          # nc –z <vcenter ip> <port range>                                                                                                                                       Remove NTP Server (vCLI only)                                              Add/Remove a vSwitch
                                                                                                                                                                                          # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> -s              # vicfg-ntp <conn_options> --delete <ip address>                                                                                                                     Show all VMFS Volumes
vicfg-mpath           Set-ScsiLun                                                                                                                                                                                                                                                                                                               # esxcli <conn_options> network vswitch standard                                          # esxcli <conn_options> storage filesystem list
                                                                                             Capture Network Tra c (ESXi Shell only)                                                      unregister /vmfs/volumes/<volume name>/<vm>/<vm>.vmx                                                                                                  [add|remove] --vswitch-name <name>
                                                                                                                                                                                                                                                                     Start NTP Service (vCLI only)
vicfg-mpath35         Get-ScsiLun                          No equivalent                     # tcpdump-uw –c 5 –n –I vmk0 host <vcenter ip> and port 123                                  <datacenter> <resource pool>                                               # vicfg-ntp <conn_options> --start                                                                                                                                   Attach a Datastore
                      Set-ScsiLun                                                                                                                                                                                                                                                                                                               Set MTU for a vSwitch
                                                                                             Test Network Connectivity (ESXi Shell only)                                                                                                                                                                                                                                                                                                  # esxcli <conn_options> storage core device detached list
                                                                                                                                                                                          Register a VM (vCLI only)                                                  List NTP Service (vCLI only)                                               # esxcli <conn_options> network vswitch standard set
esxcfg-nas            Get-Datastore                        esxcli storage nfs                # vmkping [–s 9000] <ip address>                                                                                                                                        # vicfg-ntp <conn_options> --start                                         --mtu=9000 --vswitch-name <name>                                                          # esxcli <conn_options> storage core device set –d naa.XXX
vicfg-nas             New-Datastore                                                                                                                                                       # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> -s
                                                                                                                                                                                          register /vmfs/volumes/<volume name>/<vm>/<vm>.vmx                         Stop NTP Service (vCLI only)                                                                                                                                         –state=on
                      Set-Datastore                                                          Memory/CPU Utilization                                                                                                                                                                                                                             List Network Policy Settings
                                                                                             # esxtop (ESXi Shell)                                                                        <datacenter> <resource pool>                                               # vicfg-ntp <conn_options> --stop                                          # esxcli <conn_options> network vswitch standard policy [                                 Mount a Datastore
esxcfg-nics           Get-VMHostNetworkAdapter             esxcli network nic                # resxtop (vCLI)
vicfg-nics            Set-VMHostNetworkAdapter                                                                                                                                                                                                                       Users                                                                      failover | security | shaping ] get                                                       # esxcli <conn_options> storage filesystem list
                                                                                                                                                                                          Get Guest OS Platform (vCLI only)                                          List Users (vCLI only)
vicfg-ntp             Get-VMHostNTPServer                  No equivalent                                                                                                                  # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                 # vicfg-user <conn_options> -e user –o list                                Port Groups                                                                               # esxcli <conn_options> storage filesystem volume mount
                      Set-VMHostNTPServer                                                                                                                                                 /vmfs/volumes/<volume name>/<vm>/<vm>.vmx getproductinfo                                                                                              List Defined Port Groups                                                                   –volume-label=label
                                                                                                                                                                                                                                                                     Add User (vCLI only)                                                       # esxcli <conn_options> network vswitch standard portgroup
esxcfg-rescan         Get-VMHostStorage –RescanAllHBA      esxcli storage core               Host Commands                                                                                platform                                                                   # vicfg-user <conn_options> -e user –o add –l <user> -p <password>         list                                                                                      NAS
vicfg-rescan                                                                                                                                                                                                                                                                                                                                                                                                                              List NAS Filesystems
                                                                                                                                                                                          Get Platform Hosting VM (vCLI only)                                        Change User Password (vCLI only)
esxcfg-route          Set-VMHostNetwork                    No equivalent                                                                                                                                                                                             # vicfg-user <conn_options> -e user –o modify –l <user> -p <password>      Add a Port Group                                                                          # esxcli <conn_options> storage nfs list
                                                                                             Display host ESXi version                                                                    # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                                                                                            # esxcli <conn_options> network vswitch standard portgroup
vicfg-route                                                                                  # esxcli <conn_options> system version get                                                   /vmfs/volumes/<volume name>/<vm>/<vm>.vmx getproductinfo                   Assign User Read Only Role (vCLI only)                                     [add|remove] --portgroup-name <portgroup> --vswitch-name                                  Add NAS Filesystem
esxcfg-scsidevs       Get-ScsiLun                          esxcli storage core                                                                                                            product                                                                    # vicfg-user <conn_options> -e user –o modify –l <user> --role read-only   <name>                                                                                    # esxcli <conn_options> storage nfs add –-host=<FQHN>
vicfg-scsidevs        Set-ScsiLun                          esxcli storage core filesystem     Set the system time                                                                                                                                                                                                                                                                                                                          --share=/path/to/share --volume-name=<share name>
                                                                                             # esxcli <conn_options> system time set --hour <16> --min <30> --sec <00>                                                                                               Remove User (vCLI only)                                                    Add Active Uplink to Port Group
                                                                                                                                                                                          Power on a VM (vCLI only)
vicfg-snmp            Get-VMHostSNMP                       No equivalent                                                                                                                                                                                             # vicfg-user <conn_options> -e user –o delete –l <user> -g <group>         # esxcli <conn_options> network vswitch standard portgroup                                Remove NAS Filesystem
                                                                                             Set the banner message                                                                       # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                                                                                            policy failover set –-active-uplinks=<uplink1, uplink2>
                      Set-VMHostSNMP
                                                                                             # esxcli <conn_options> system welcomemsg set --message                                                                                                                 Groups                                                                                                                                                               # esxcli <conn_options> storage nfs remove --volume-
                                                                                                                                                                                          /vmfs/volumes/<volume name>/<vm>/<vm>.vmx start [ soft | hard ]                                                                                                                                                                                 name=<share name>
vicfg-syslog          Get-VMHostSysLogServer               esxcli system syslog              <message string>                                                                                                                                                        List Groups (vCLI only)                                                    Set a Port Group vlan ID
                      Set-VMHostSysLogServer                                                                                                                                              Power o a VM (vCLI only)                                                   # vicfg-user <conn_options> -e group –o list                               # esxcli <conn_options> network vswitch standard portgroup
                                                                                             Configure a remote log host                                                                                                                                                                                                                                                                                                                   iSCSI
                                                                                                                                                                                          # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                 Add Group (vCLI only)                                                      set --portgroup-name <portgroup> --vlan-id=<vlanid>
vicfg-user            Get-VMHostAccount                    No equivalent                     # esxcli <conn_options> system syslog config set                                                                                                                                                                                                                                                                                             Enable Software iSCSI
                      Set-VMHostAccount                                                      --loghost=<ip address>                                                                       /vmfs/volumes/<volume name>/<vm>/<vm>.vmx stop [ soft | hard ]             # vicfg-user <conn_options> -e group –o add –d <groupname>                                                                                                           # esxcli <conn_options> iscsi software set –-enabled=true
                      New-VMHostAccount
                                                                                                                                                                                                                                                                                                                                                Add a Virtual Network Adaptor to Port Group
                                                                                             # esxcli <conn_options> system syslog reload                                                 Reset a VM (vCLI only)
                                                                                                                                                                                                                                                                     Add User to Group (vCLI only)                                              # esxcli <conn_options> network ip interface add
                      Remove-VMHostAccount                                                                                                                                                                                                                           # vicfg-user <conn_options> -e group –o modify –d <groupname>              --portgroup-name <portgroup>                                                              List iSCSI Adapters
                                                                                             Configure a remote dump host                                                                  # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                 --adduser <user1>,<user2>,<user3>                                                                                                                                    # esxcli <conn_options> iscsi adapter list
esxcfg-vmknic         Get-VMHostNetworkAdapter             esxcli network interface
vicfg-vmknic          Set-VMHostNetworkAdapter                                               # esxcli <conn_options> system coredump network set                                          /vmfs/volumes/<volume name>/<vm>/<vm>.vmx reset [ soft | hard ]                                                                                       Configure the IP Address and netmask for a Port Group
                                                                                             --interface-name <vmk#> --server-ipv4 <ip address> --server-port                                                                                                        Remove User from Group (vCLI only)                                         # esxcli <conn_options> network ip interface ipv4 set                                     Add iSCSI Adapters
esxcfg-volume         Get-View needed to call APIs         esxcli storage filesystem          <portnumber> 6500                                                                            Suspending a VM (vCLI only)                                                # vicfg-user <conn_options> -e group –o modify –d <groupname>              --interface-name=<vmk#> --ipv4=<ip address>                                               # esxcli <conn_options> iscsi networkportal add –n
vicfg-volume                                                                                                                                                                                                                                                         --removeuser <username>                                                    --netmask<netmask> --type=static                                                          <portal_name> -A <vmhba>
                                                                                             # esxcli <conn_options> system coredump network set --enable true                            # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>
esxcfg-vswitch        Get-VirtualSwitch                    esxcli network vswitch                                                                                                         /vmfs/volumes/<volume name>/<vm>/<vm>.vmx suspend [ soft | hard ]          Remove Group (vCLI only)                                                                                                                                             Show iSCSI Status
                                                                                             Join host to Active Directory                                                                                                                                           # vicfg-user <conn_options> -e group –o delete –d <groupname>              List All Uplink Adapters
vicfg-vswitch         Set-VirtualSwitch                                                                                                                                                                                                                                                                                                         # esxcli <conn_options> network nic list                                                  # esxcli <conn_options> iscsi software get
                      Get-VirtualPortGroup                                                   Join host to AD domain (vCLI only)                                                           Resume a VM (vCLI only)                                                    Configure ESXi Dump Collector
                      Set-VirtualPortgroup                                                   # vicfg-authconfig --server=<ip address> --username=<user>                                   # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                 # esxcli <conn_options> system coredump network set                        List VMkernel Interfaces                                                                  Set the iSCSI Name and Alias
                                                                                             --password=<password> --authscheme AD --joindomain <domainname>                                                                                                         –-interface-name vmk0 --server-ipv4=<ip address> --port=<port name>        # esxcli <conn_options> network ip interface list                                         # esxcli <conn_options> iscsi adapter set –-adapter=<iscsi
                                                                                                                                                                                          /vmfs/volumes/<volume name>/<vm>/<vm>.vmx resume                                                                                                                                                                                                adapter> --name=<name>
vifs.pl               Copy-DatastoreItem                   No equivalent                     --adusername=<user> --adpassword=<password>
                      PSDrives                                                                                                                                                                                                                                       # esxcli <conn_options> system coredump network set –-enabled=true         Add VMkernel Interface
                                                                                                                                                                                          Show VM Uptime (vCLI only)                                                 # esxcli <conn_options> system coredump network get                                                                                                                  # esxcli <conn_options> iscsi adapter set –-adapter=<iscsi
                                                                                             Verify AD domain (vCLI only)                                                                                                                                                                                                                       # esxcli <conn_options> network ip interface add
vihostupdate          Install-VMHostPatch                  esxcli software                   # vicfg-authconfig --server <ip address> --authscheme AD –c                                  # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                                                                                            –-interface-name=<vmk#> --portgroup-name=<portgroup>                                      adapter> --alias=<alias>
                                                                                                                                                                                          /vmfs/volumes/<volume name>/<vm>/<vm>.vmx getuptime                        Configure ESXi Syslog Collector
vihostupdate35        Install-VMHostPatch                  No equivalent
                                                                                             Host Operations                                                                                                                                                         # esxcli <conn_options> system syslog config set –-loghost=<ip address>    List VMkernel Interfaces                                                                 TBD CHAP Authentication
                                                                                                                                                                                                                                                                                                                                                                                                                                         Set iSCSI
vmkfstools            Get-HardDisk                         No equivalent                     Enter/Exit Maintenance Mode (vCLI only)                                                      Show VMware Tools Status (vCLI only)                                       # esxcli <conn_options> system syslog reload                               # esxcli <conn_options> network ip interface ipv4 set                                     # esxcli <conn_options> iscsi adapter auth chap set
                                                                                             # vicfg-hostops <conn_options> --operation [enter | info | exit]                                                                                                                                                                                   –-ip=<ip address> --netmask=<subnetmask> --interface-                                     –-direction=mutual –mchap_username=<name>
                      Copy-HardDisk                                                                                                                                                       # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                 Attaching Devices                                                                                                                                                    --mchap_password=<pwd> --level=required --secret=<string>
                      Set-HardDisk                                                                                                                                                                                                                                                                                                              name=<vmk#>
                                                                                                                                                                                          /vmfs/volumes/<volume name>/<vm>/<vm>.vmx gettoolslastactive               Connect CDROM (vCLI only)                                                                                                                                            --adapter=<vmhba>
                                                                                             Shutdown/reboot a single host (vCLI only)                                                                                                                               # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> /vmfs/
vmware-cmd            Various cmdlets including:           No equivalent                                                                                                                      0 = not installed/not running
                                                                                             # vicfg-hostops <conn_options> --operation [ shutdown | reboot ]                                                                                                        volumes/<volume name>/<vm>/<vm>.vmx connectdevice <CD Drive>
                      Get-VM Set-VM      Get-Snapshot                                                                                                                                         1 = normal                                                                                                                                                                                                                                  Discover iSCSI Storage Devices
                      Set-Snapshot       Get-VMGuestInfo                                     Host Backup/Restore                                                                              5 = intermittent heartbeat                                                                                                                                                                                                                  # esxcli <conn_options> iscsi adapter discovery rediscover
                      Start-VM           Stop-VM
                                                                                             Backup host configuration (vCLI only)                                                             10 = no heartbeat
                                                                                                                                                                                                                                                                     Disconnect CDROM (vCLI only)
                                                                                                                                                                                                                                                                     # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> /vmfs/          ESXi Resources and Quick Links
                      Restart-VM
                                                                                             # vicfg-cfgbackup <conn_options> -s </path/filename>                                                                                                                    volumes/<volume name>/<vm>/<vm>.vmx disconnectdevice <CD Drive>
                                                                                                                                                                                          Create VM Snapshot (vCLI only)
esxtop                Get-EsxTop                           No equivalent                                                                                                                                                                                             Manage Routes                                                              Download ESXi: http://downloads.vmware.com/d/
resxtop                                                                                      Restore host configuration (vCLI only)                                                        # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>
                                                                                                                                                                                                                                                                     Set Gateway (vCLI only)
                                                                                             # vicfg-cfgbackup <conn_options> -l </path/filename>                                         /vmfs/volumes/<volume name>/<vm>/<vm>.vmx createsnapshot                                                                                              ESXi Documentation: http://www.vmware.com/support/pubs/
esxupdate             Get-VMHostPatch                      esxcli software vib                                                                                                                                                                                       # vicfg-route <conn_options> <gateway>
                                                                                                                                                                                          <name> <desc> 0 0
                      Install-VMHostPatch                                                    Managing Modules                                                                                                                                                        Add Route (vCLI only)
vmkfstools            No equivalent                        No equivalent                     List all modules                                                                             Check if VM Has a Snapshot (vCLI only)                                     # vicfg-route <conn_options> -add <ip address> <netmask> <gateway>
                                                                                                                                                                                                                                                                                                                                                ESXi Frequently Asked Questions: http://www.vmware.com/                                   Authentication
                                                                                             # esxcli <conn_options> system module list [--enabled=true]                                                                                                                                                                                        products/vsphere/esxi-and-esx/faqs.html#c177114
                                                                                                                                                                                          # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                 List Routes (vCLI only)
vmkping               No equivalent                        No equivalent
                                                                                             List all loaded modules                                                                      /vmfs/volumes/<volume name>/<vm>/<vm>.vmx hassnapshot                      # vicfg-route <conn_options>                                               vSphere Install and Upgrade Community: http://communities.vmware.com/                    Setting up vMA FastPass
vmware-cmd            Multiple VM cmdlets available        No equivalent                     # esxcli <conn_options> system module list --loaded=true                                         0 = snapshot exists                                                    Configure DNS                                                               community/vmtn/server/vsphere/upgradecenter                                              # vifp addserver <hostname> --username <user> --password
                                                                                                                                                                                              1 = no snapshot                                                        Set Fully Qualified Hostname                                                                                                                                         <password>
vm-support            Get-Log                              No equivalent                     Enable/Disable modules                                                                                                                                                  # esxcli <conn_options> system hostname set --fdn=<hostname>               ESXi 5 Community: http://communities.vmware.com/community/                               # viftptarget --set <hostname>
                                                                                             # esxcli <conn_options> system module list                                                   Revert to VM Snapshot (vCLI only)
                                                                                             --enabled = [ true | false ]                                                                                                                                            Display DNS Servers                                                        vmtn/server/vsphere/esxi5
                                                                                                                                                                                          # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                                                                                                                                                                                     ESXCLI Command-Line Authentication
                                                                                                                                                                                                                                                                     # esxcli <conn_options> network ip dns server list                                                                                                                  # esxcli --server=<vcenter ip> --vihost=<hostname> --user
                                                                                                                                                                                          /vmfs/volumes/<volume name>/<vm>/<vm>.vmx revertsnapshot                                                                                              ESXi 4 Community: http://communities.vmware.com/community/
  vMA Deployment Tips                                                                                                                                                                                                                                                Add/Remove DNS Server                                                      vmtn/server/vsphere/esxi                                                                 <user> --password <password> <command>
                                                                                                                                                                                          Remove VM Snapshot (vCLI only)                                             # esxcli <conn_options> network ip dns server [add|remove]
                                                                                                                                                                                                                                                                                                                                                                                                                                         ESXCLI Creating a Session File
  vMA Docs: https://www.vmware.com/support/developer/vima/                                   vCLI Supported Platforms                                                                     # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip>                 --server=<ip address>                                                      ESXi O cial Blog: http://blogs.vmware.com/esxi/                                          # save_session --savesessionfile <file> --server <vcenter ip>
                                                                                                                                                                                          /vmfs/volumes/<volume name>/<vm>/<vm>.vmx removesnapshot                   Display DNS Search Domain                                                                                                                                           --username <user> --password <pass>
  vMA Downloads: http://www.vmware.com/downloads/login.do                                                                                                                                                                                                            # esxcli <conn_options> network ip dns search list                         Twitter: @VMwarevSphere, @VMwareESXi
                                                                                             vMA                                                                                          Forcibly Stop a VM with ESXCLI                                                                                                                                                                                                                 ESXCLI Using Windows Pass-Through Authentication
  vMA Community: http://communities.vmware.com/community/                                    Linux-based appliance that includes              Windows                                                                                                                Add/Remove DNS Search Domain                                               vSphere Automation Tools Community: http://communities.vmware.com/                       C:esxcli --server <vcenter ip> --passthroughauth
                                                                                                                                                                                          # esxcli <conn_options> vm process list                                    # esxcli <conn_options> network ip dns server [add|remove]
  vmtn/server/vsphere/automationtools/vima                                                   the vCLI and vSphere SDK for Perl                - Windows Vista Enterprise SP1                                                                                                                                                                    community/vmtn/server/vsphere/automationtools?view=overview                              --passthroughauthpackage “Kerberos” --vihost <hostname> network
                                                                                                                                                                                          # esxcli <conn_options> vm process kill --type soft|hard|force             --domain=<domain>                                                                                                                                                   ip interface list
                                                                                             Linux                                              (32-bit and 64-bit)
  vSphere SDK and Perl Documentation:                                                                                                                                                     --world-id <id>                                                            Enable DHCP                                                                Training: vSphere Transition to ESXi Essentials: http://mylearn.vmware.com/
                                                                                             - RHEL 5.5 Server (32-bit and 64-bit)            - Windows 2008 64-bit                                                                                                  # esxcli <conn_options> network ip interface ipv4 set                                                                                                               ESXCLI Using Environment Variables
  https://www.vmware.com/support/developer/viperltoolkit/                                                                                                                                                                                                                                                                                       mgrreg/courses.cfm?ui=www_edu&a=one&id_subject=23970                                     # VI_USERNAME=root <username>
                                                                                             - SLES 10 SP1 (32-bit and 64-bit)                - Windows 7 32-bit and 64-bit                                                                                          --interface-name=<vmk#> --type=dhcp
  vSphere Knowledge Base:                                                                                                                                                                                                                                                                                                                       Training: What Is New in ESXi 5.0: http://mylearn.vmware.com/mgrreg/                     # VI_PASSWORD=vmware123 <password>
                                                                                             - SLES 11 (32-bit and 64-bit)                                                                                                                                           Set Static IP
  http://kb.vmware.com/selfservice/microsites/microsite.do                                                                                                                                                                                                           # esxcli <conn_options> network ip interface ipv4 set --                   courses.cfm?ui=www_edu&a=one&id_subject=24417                                            # VI_SERVER=<IP of vCenter Server or ESXi host>
                                                                                             - Ubuntu 10.04 (32-bit and 64-bit)                                                                                                                                      interface-name=<vmk#> --ipv4=<ip address>
                                                                                                                                                                                                                                                                     --netmask=<subnetmask> --type=static



Summary of all ESXCLI commands: # esxcli <conn_options> esxcli command list                                                                   •      ESXCLI connection options when connecting through vCenter Server: --server <vcenter ip> --vihost <ESXi host ip>                                                            •    ESXCLI connection options when connecting directly to ESXi host: --server <ESXi host ip>

More Related Content

What's hot

XS Boston 2008 Memory Overcommit
XS Boston 2008 Memory OvercommitXS Boston 2008 Memory Overcommit
XS Boston 2008 Memory Overcommit
The Linux Foundation
 
2011 q1-indy-vmug
2011 q1-indy-vmug2011 q1-indy-vmug
2011 q1-indy-vmug
Adam Eckerle
 
VMware vSphere 4.1 deep dive - part 1
VMware vSphere 4.1 deep dive - part 1VMware vSphere 4.1 deep dive - part 1
VMware vSphere 4.1 deep dive - part 1
Louis Göhl
 
Linux container & docker
Linux container & dockerLinux container & docker
Linux container & docker
ejlp12
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance Troubleshooting
Dan Brinkmann
 
XS Boston 2008 XenLoop
XS Boston 2008 XenLoopXS Boston 2008 XenLoop
XS Boston 2008 XenLoop
The Linux Foundation
 
BSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSDBSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSD
The Linux Foundation
 
20 christian ferber xen_server_6_workshop
20 christian ferber xen_server_6_workshop20 christian ferber xen_server_6_workshop
20 christian ferber xen_server_6_workshop
Digicomp Academy AG
 
Visão geral sobre Citrix XenServer 6 - Ferramentas e Licenciamento
Visão geral sobre Citrix XenServer 6 - Ferramentas e LicenciamentoVisão geral sobre Citrix XenServer 6 - Ferramentas e Licenciamento
Visão geral sobre Citrix XenServer 6 - Ferramentas e Licenciamento
Lorscheider Santiago
 
Linaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARMLinaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARM
The Linux Foundation
 
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek
Securing Your Cloud With the Xen Hypervisor by Russell PavlicekSecuring Your Cloud With the Xen Hypervisor by Russell Pavlicek
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek
buildacloud
 
Getting Into The Flow With CQ DAM
Getting Into The Flow With CQ DAMGetting Into The Flow With CQ DAM
Getting Into The Flow With CQ DAM
Lars Trieloff
 
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCPLinuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
The Linux Foundation
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
glbsolutions
 
VMware vSphere Networking deep dive
VMware vSphere Networking deep diveVMware vSphere Networking deep dive
VMware vSphere Networking deep dive
Sanjeev Kumar
 
Windows Azure Interoperability
Windows Azure InteroperabilityWindows Azure Interoperability
Windows Azure Interoperability
Mihai Dan Nadas
 
XS Boston 2008 Project Status
XS Boston 2008 Project StatusXS Boston 2008 Project Status
XS Boston 2008 Project Status
The Linux Foundation
 
Realtime scheduling for virtual machines in SKT
Realtime scheduling for virtual machines in SKTRealtime scheduling for virtual machines in SKT
Realtime scheduling for virtual machines in SKT
The Linux Foundation
 
XS Boston 2008 Self IO Emulation
XS Boston 2008 Self IO EmulationXS Boston 2008 Self IO Emulation
XS Boston 2008 Self IO Emulation
The Linux Foundation
 
Securing your cloud with Xen's advanced security features
Securing your cloud with Xen's advanced security featuresSecuring your cloud with Xen's advanced security features
Securing your cloud with Xen's advanced security features
The Linux Foundation
 

What's hot (20)

XS Boston 2008 Memory Overcommit
XS Boston 2008 Memory OvercommitXS Boston 2008 Memory Overcommit
XS Boston 2008 Memory Overcommit
 
2011 q1-indy-vmug
2011 q1-indy-vmug2011 q1-indy-vmug
2011 q1-indy-vmug
 
VMware vSphere 4.1 deep dive - part 1
VMware vSphere 4.1 deep dive - part 1VMware vSphere 4.1 deep dive - part 1
VMware vSphere 4.1 deep dive - part 1
 
Linux container & docker
Linux container & dockerLinux container & docker
Linux container & docker
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance Troubleshooting
 
XS Boston 2008 XenLoop
XS Boston 2008 XenLoopXS Boston 2008 XenLoop
XS Boston 2008 XenLoop
 
BSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSDBSDcon Asia 2015: Xen on FreeBSD
BSDcon Asia 2015: Xen on FreeBSD
 
20 christian ferber xen_server_6_workshop
20 christian ferber xen_server_6_workshop20 christian ferber xen_server_6_workshop
20 christian ferber xen_server_6_workshop
 
Visão geral sobre Citrix XenServer 6 - Ferramentas e Licenciamento
Visão geral sobre Citrix XenServer 6 - Ferramentas e LicenciamentoVisão geral sobre Citrix XenServer 6 - Ferramentas e Licenciamento
Visão geral sobre Citrix XenServer 6 - Ferramentas e Licenciamento
 
Linaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARMLinaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARM
 
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek
Securing Your Cloud With the Xen Hypervisor by Russell PavlicekSecuring Your Cloud With the Xen Hypervisor by Russell Pavlicek
Securing Your Cloud With the Xen Hypervisor by Russell Pavlicek
 
Getting Into The Flow With CQ DAM
Getting Into The Flow With CQ DAMGetting Into The Flow With CQ DAM
Getting Into The Flow With CQ DAM
 
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCPLinuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
 
VMware vSphere Networking deep dive
VMware vSphere Networking deep diveVMware vSphere Networking deep dive
VMware vSphere Networking deep dive
 
Windows Azure Interoperability
Windows Azure InteroperabilityWindows Azure Interoperability
Windows Azure Interoperability
 
XS Boston 2008 Project Status
XS Boston 2008 Project StatusXS Boston 2008 Project Status
XS Boston 2008 Project Status
 
Realtime scheduling for virtual machines in SKT
Realtime scheduling for virtual machines in SKTRealtime scheduling for virtual machines in SKT
Realtime scheduling for virtual machines in SKT
 
XS Boston 2008 Self IO Emulation
XS Boston 2008 Self IO EmulationXS Boston 2008 Self IO Emulation
XS Boston 2008 Self IO Emulation
 
Securing your cloud with Xen's advanced security features
Securing your cloud with Xen's advanced security featuresSecuring your cloud with Xen's advanced security features
Securing your cloud with Xen's advanced security features
 

Viewers also liked

Connections and Ports in ESX / ESXi
Connections and Ports in ESX / ESXi Connections and Ports in ESX / ESXi
Connections and Ports in ESX / ESXi
Dudley Smith
 
Mastering VMware Datacenter - 15 Modules
Mastering VMware Datacenter - 15 ModulesMastering VMware Datacenter - 15 Modules
Mastering VMware Datacenter - 15 Modules
M.M.Rahman Munna, Linux, VMware and Mail Server Expert
 
Bca1931 final
Bca1931 finalBca1931 final
Bca1931 final
Itzik Reich
 
Mastering VMware Datacenter Part-1
Mastering VMware Datacenter Part-1Mastering VMware Datacenter Part-1
Mastering VMware Datacenter Part-1
M.M.Rahman Munna, Linux, VMware and Mail Server Expert
 
VMware Monitoring-Discover And Monitor Your Virtual Environment
VMware Monitoring-Discover And Monitor Your Virtual EnvironmentVMware Monitoring-Discover And Monitor Your Virtual Environment
VMware Monitoring-Discover And Monitor Your Virtual Environment
Site24x7
 
Vsphere esxi-vcenter-server-50-installation-setup-guide
Vsphere esxi-vcenter-server-50-installation-setup-guideVsphere esxi-vcenter-server-50-installation-setup-guide
Vsphere esxi-vcenter-server-50-installation-setup-guide
amirzahur
 
What’s new in vSphere 5 and vCenter Server Heartbeat – Customer Presentation
What’s new in vSphere 5 and vCenter Server Heartbeat – Customer PresentationWhat’s new in vSphere 5 and vCenter Server Heartbeat – Customer Presentation
What’s new in vSphere 5 and vCenter Server Heartbeat – Customer Presentation
Suministros Obras y Sistemas
 
Presentation1VMware EsxI Short Presentation
Presentation1VMware EsxI Short PresentationPresentation1VMware EsxI Short Presentation
Presentation1VMware EsxI Short Presentation
Barcamp Cork
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshooting
Ovi Chis
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
Barcamp Cork
 
Introduction - vSphere 5 High Availability (HA)
Introduction - vSphere 5 High Availability (HA)Introduction - vSphere 5 High Availability (HA)
Introduction - vSphere 5 High Availability (HA)
Eric Sloof
 
VMware vSphere technical presentation
VMware vSphere technical presentationVMware vSphere technical presentation
VMware vSphere technical presentation
aleyeldean
 
VMware Presentation
VMware PresentationVMware Presentation
VMware Presentation
Emirates Computers
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
Sasikumar Thirumoorthy
 

Viewers also liked (14)

Connections and Ports in ESX / ESXi
Connections and Ports in ESX / ESXi Connections and Ports in ESX / ESXi
Connections and Ports in ESX / ESXi
 
Mastering VMware Datacenter - 15 Modules
Mastering VMware Datacenter - 15 ModulesMastering VMware Datacenter - 15 Modules
Mastering VMware Datacenter - 15 Modules
 
Bca1931 final
Bca1931 finalBca1931 final
Bca1931 final
 
Mastering VMware Datacenter Part-1
Mastering VMware Datacenter Part-1Mastering VMware Datacenter Part-1
Mastering VMware Datacenter Part-1
 
VMware Monitoring-Discover And Monitor Your Virtual Environment
VMware Monitoring-Discover And Monitor Your Virtual EnvironmentVMware Monitoring-Discover And Monitor Your Virtual Environment
VMware Monitoring-Discover And Monitor Your Virtual Environment
 
Vsphere esxi-vcenter-server-50-installation-setup-guide
Vsphere esxi-vcenter-server-50-installation-setup-guideVsphere esxi-vcenter-server-50-installation-setup-guide
Vsphere esxi-vcenter-server-50-installation-setup-guide
 
What’s new in vSphere 5 and vCenter Server Heartbeat – Customer Presentation
What’s new in vSphere 5 and vCenter Server Heartbeat – Customer PresentationWhat’s new in vSphere 5 and vCenter Server Heartbeat – Customer Presentation
What’s new in vSphere 5 and vCenter Server Heartbeat – Customer Presentation
 
Presentation1VMware EsxI Short Presentation
Presentation1VMware EsxI Short PresentationPresentation1VMware EsxI Short Presentation
Presentation1VMware EsxI Short Presentation
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshooting
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
 
Introduction - vSphere 5 High Availability (HA)
Introduction - vSphere 5 High Availability (HA)Introduction - vSphere 5 High Availability (HA)
Introduction - vSphere 5 High Availability (HA)
 
VMware vSphere technical presentation
VMware vSphere technical presentationVMware vSphere technical presentation
VMware vSphere technical presentation
 
VMware Presentation
VMware PresentationVMware Presentation
VMware Presentation
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
 

Similar to Vmware management-with-vcli-5.0

V Mwarev Storage Intregration
V Mwarev Storage IntregrationV Mwarev Storage Intregration
V Mwarev Storage Intregration
mikhail.mikheev
 
Esx.sc.quickref
Esx.sc.quickrefEsx.sc.quickref
Esx.sc.quickref
hellocn
 
VMware Nova Compute Driver
VMware Nova Compute DriverVMware Nova Compute Driver
VMware Nova Compute Driver
Sean Chen
 
Poster vmware-management-with-vcli-5.0
Poster vmware-management-with-vcli-5.0Poster vmware-management-with-vcli-5.0
Poster vmware-management-with-vcli-5.0
Fredy Ricse
 
Denver VMUG nov 2011
Denver VMUG nov 2011Denver VMUG nov 2011
Denver VMUG nov 2011
Dan Brinkmann
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
buildacloud
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
The Linux Foundation
 
Automating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David Nalley
Puppet
 
Rearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server VirtualizationRearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server Virtualization
Stephen Foskett
 
Hardware supports for Virtualization
Hardware supports for VirtualizationHardware supports for Virtualization
Hardware supports for Virtualization
Yoonje Choi
 
Nova for Physicalization and Virtualization compute models
Nova for Physicalization and Virtualization compute modelsNova for Physicalization and Virtualization compute models
Nova for Physicalization and Virtualization compute models
openstackindia
 
Lessons On Hyper V
Lessons On Hyper VLessons On Hyper V
Lessons On Hyper V
Aidan Finn
 
Where Does VMware Integration Occur?
Where Does VMware Integration Occur?Where Does VMware Integration Occur?
Where Does VMware Integration Occur?
Scott Lowe
 
Windows Server 2008 Web Workload Overview
Windows Server 2008 Web Workload OverviewWindows Server 2008 Web Workload Overview
Windows Server 2008 Web Workload Overview
David Chou
 
2014.08.30 Virtual Machine Threat 세미나
2014.08.30 Virtual Machine Threat 세미나2014.08.30 Virtual Machine Threat 세미나
2014.08.30 Virtual Machine Threat 세미나
용환 노
 
Hyper-V VMM ile Cloud computing
Hyper-V VMM ile Cloud computingHyper-V VMM ile Cloud computing
Hyper-V VMM ile Cloud computing
Ahmet Mutlu
 
The Architecture Of V Mware Es Xi
The Architecture Of V Mware Es XiThe Architecture Of V Mware Es Xi
The Architecture Of V Mware Es Xi
Rishi Sharma
 
Lxp storage iSCSI Best Practice
Lxp storage iSCSI Best PracticeLxp storage iSCSI Best Practice
Lxp storage iSCSI Best Practice
cmegroz
 
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief ComparisonCloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
bizalgo
 
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud DeploymentsPuppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments
Puppet
 

Similar to Vmware management-with-vcli-5.0 (20)

V Mwarev Storage Intregration
V Mwarev Storage IntregrationV Mwarev Storage Intregration
V Mwarev Storage Intregration
 
Esx.sc.quickref
Esx.sc.quickrefEsx.sc.quickref
Esx.sc.quickref
 
VMware Nova Compute Driver
VMware Nova Compute DriverVMware Nova Compute Driver
VMware Nova Compute Driver
 
Poster vmware-management-with-vcli-5.0
Poster vmware-management-with-vcli-5.0Poster vmware-management-with-vcli-5.0
Poster vmware-management-with-vcli-5.0
 
Denver VMUG nov 2011
Denver VMUG nov 2011Denver VMUG nov 2011
Denver VMUG nov 2011
 
Automating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
 
Automating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David NalleyAutomating CloudStack with Puppet - David Nalley
Automating CloudStack with Puppet - David Nalley
 
Rearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server VirtualizationRearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server Virtualization
 
Hardware supports for Virtualization
Hardware supports for VirtualizationHardware supports for Virtualization
Hardware supports for Virtualization
 
Nova for Physicalization and Virtualization compute models
Nova for Physicalization and Virtualization compute modelsNova for Physicalization and Virtualization compute models
Nova for Physicalization and Virtualization compute models
 
Lessons On Hyper V
Lessons On Hyper VLessons On Hyper V
Lessons On Hyper V
 
Where Does VMware Integration Occur?
Where Does VMware Integration Occur?Where Does VMware Integration Occur?
Where Does VMware Integration Occur?
 
Windows Server 2008 Web Workload Overview
Windows Server 2008 Web Workload OverviewWindows Server 2008 Web Workload Overview
Windows Server 2008 Web Workload Overview
 
2014.08.30 Virtual Machine Threat 세미나
2014.08.30 Virtual Machine Threat 세미나2014.08.30 Virtual Machine Threat 세미나
2014.08.30 Virtual Machine Threat 세미나
 
Hyper-V VMM ile Cloud computing
Hyper-V VMM ile Cloud computingHyper-V VMM ile Cloud computing
Hyper-V VMM ile Cloud computing
 
The Architecture Of V Mware Es Xi
The Architecture Of V Mware Es XiThe Architecture Of V Mware Es Xi
The Architecture Of V Mware Es Xi
 
Lxp storage iSCSI Best Practice
Lxp storage iSCSI Best PracticeLxp storage iSCSI Best Practice
Lxp storage iSCSI Best Practice
 
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief ComparisonCloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
 
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud DeploymentsPuppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments
Puppet Camp Dallas 2014: Using Puppet in Hybrid Cloud Deployments
 

More from Sathishkumar A

Windows server 2012 R2 private cloud virtualization and storage
Windows server 2012 R2 private cloud virtualization and storageWindows server 2012 R2 private cloud virtualization and storage
Windows server 2012 R2 private cloud virtualization and storage
Sathishkumar A
 
Cisco career certification paths
Cisco career certification pathsCisco career certification paths
Cisco career certification paths
Sathishkumar A
 
VMware_2012_Q1_Edu_Roadmap
VMware_2012_Q1_Edu_RoadmapVMware_2012_Q1_Edu_Roadmap
VMware_2012_Q1_Edu_Roadmap
Sathishkumar A
 
Windows server 2008 active directory components
Windows server 2008 active directory componentsWindows server 2008 active directory components
Windows server 2008 active directory components
Sathishkumar A
 
VCP5 vs VCP4 Blue Print
VCP5 vs VCP4 Blue PrintVCP5 vs VCP4 Blue Print
VCP5 vs VCP4 Blue Print
Sathishkumar A
 
Footprinting-and-the-basics-of-hacking
Footprinting-and-the-basics-of-hackingFootprinting-and-the-basics-of-hacking
Footprinting-and-the-basics-of-hacking
Sathishkumar A
 

More from Sathishkumar A (6)

Windows server 2012 R2 private cloud virtualization and storage
Windows server 2012 R2 private cloud virtualization and storageWindows server 2012 R2 private cloud virtualization and storage
Windows server 2012 R2 private cloud virtualization and storage
 
Cisco career certification paths
Cisco career certification pathsCisco career certification paths
Cisco career certification paths
 
VMware_2012_Q1_Edu_Roadmap
VMware_2012_Q1_Edu_RoadmapVMware_2012_Q1_Edu_Roadmap
VMware_2012_Q1_Edu_Roadmap
 
Windows server 2008 active directory components
Windows server 2008 active directory componentsWindows server 2008 active directory components
Windows server 2008 active directory components
 
VCP5 vs VCP4 Blue Print
VCP5 vs VCP4 Blue PrintVCP5 vs VCP4 Blue Print
VCP5 vs VCP4 Blue Print
 
Footprinting-and-the-basics-of-hacking
Footprinting-and-the-basics-of-hackingFootprinting-and-the-basics-of-hacking
Footprinting-and-the-basics-of-hacking
 

Recently uploaded

GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Ukraine
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
HarpalGohil4
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
Sease
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
christinelarrosa
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
UiPathCommunity
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptxAI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
Sunil Jagani
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
AlexanderRichford
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
Ortus Solutions, Corp
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 

Recently uploaded (20)

GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
GlobalLogic Java Community Webinar #18 “How to Improve Web Application Perfor...
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptxAI in the Workplace Reskilling, Upskilling, and Future Work.pptx
AI in the Workplace Reskilling, Upskilling, and Future Work.pptx
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 

Vmware management-with-vcli-5.0

  • 1. VMware ESXi 5.0 Reference ™ ESXCFG/ PowerCLI Cmdlet ESXCLI 5.0 Boot Options ESXi ESXi Upgrade Path ESXCLI Name Spaces CIM broker HA NTP syslog VM VICFG CIM Host on 32-bit Command Stateless PXE providers hostd DCUI vpxa SNMP VMX vSphere Client or Incompatible Replace Server esxcli5.0 Hardware svmotion Move-VM –Datastore No equivalent VMM esxcfg-advcfg Get-VMHostAdvancedConfiguration esxcli system settings advanced User mode API (fuller POSIX subset) Running fcoe hardware iscsi network software storage system vm vicfg-advcfg Set-VMHostAdvancedConfiguration Host Running Upgrade to 4.x USB PowerCLI vCenter 5.0 ESX/ESXi 3.5 adapter cpu adapter fence sources core boot process vicfg-cfgbackup Get-VMHostFirmware No equivalent Set-VMHostFirmware Distributed Virtual NIC nic bootdevice networkportal firewall acceptance nmp coredump VM file system & Switch clock physicalnetworkportal ip profile vmfs module vicfg-dns Get-VMHostNetwork esxcli network ip dns server Resource Host on 64-bit Non-Upgradable memory session vswitch vib filesystem process Set-VMHostNetwork VMkernel Scheduling Compatible Boot Disk New 5.0 Install pci ibftboot nic nfs secpolicy SAN Hardware esxcfg-dumppart Get-EsxCLI esxcli system coredump Storage Stack Network Stack vMA/ESXCLI/ platform logicalnetworkportal settings vCLI plugin stats vicfg-dumppart Upgrade to 5.0 Host Running software syslog esxcfg-firewall Get-VMHostFirewallDefaultPolicy esxcli network firewall ESX/ESXi 4.x Using Update visorfs Device Drivers Get-VMHostFirewallException Manager hostname Set-VMHostFirewallDefaultPolicy Local Disk Upgradable time Set-VMHostFirewallException Boot Disk Upgrade to 5.0 uuid vicfg-hostops Get-VMHost No equivalent Using ESXi version Set-VMHost welcomemsg Restart-VMHost Installer esxcfg-ipsec No equivalent No equivalent vicfg-ipsec esxcfg-swiscsi esxcfg-hwiscsi Get-iScsiHBATarget New-iScsiHBATarget esxcli iscsi Performance and Troubleshooting Virtual Machine Commands Other Commands Network Commands Storage Commands vicfg-iscsi Set-iScsiHBATarget Remove-iScsiHBATarget List Registered VMs (vCLI only) Configure NTP vSwitches Scan Storage Devices SCSI Performance Statistics (ESXi Shell only) esxcfg-module Get-EsxCLI esxcli system module # vscsiStats {options} # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> –l Add NTP Server (vCLI only) List Defined Standard Virtual Switches # esxcli <conn_options> storage core adapter rescan vicfg-module # vicfg-ntp <conn_options> --add <ip address> # esxcli <conn_options> network vswitch standard list Show Open Ports (ESXi Shell only) Unregister a VM (vCLI only) VMFS esxcfg-mpath Get-ScsiLun esxcli storage core path # nc –z <vcenter ip> <port range> Remove NTP Server (vCLI only) Add/Remove a vSwitch # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> -s # vicfg-ntp <conn_options> --delete <ip address> Show all VMFS Volumes vicfg-mpath Set-ScsiLun # esxcli <conn_options> network vswitch standard # esxcli <conn_options> storage filesystem list Capture Network Tra c (ESXi Shell only) unregister /vmfs/volumes/<volume name>/<vm>/<vm>.vmx [add|remove] --vswitch-name <name> Start NTP Service (vCLI only) vicfg-mpath35 Get-ScsiLun No equivalent # tcpdump-uw –c 5 –n –I vmk0 host <vcenter ip> and port 123 <datacenter> <resource pool> # vicfg-ntp <conn_options> --start Attach a Datastore Set-ScsiLun Set MTU for a vSwitch Test Network Connectivity (ESXi Shell only) # esxcli <conn_options> storage core device detached list Register a VM (vCLI only) List NTP Service (vCLI only) # esxcli <conn_options> network vswitch standard set esxcfg-nas Get-Datastore esxcli storage nfs # vmkping [–s 9000] <ip address> # vicfg-ntp <conn_options> --start --mtu=9000 --vswitch-name <name> # esxcli <conn_options> storage core device set –d naa.XXX vicfg-nas New-Datastore # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> -s register /vmfs/volumes/<volume name>/<vm>/<vm>.vmx Stop NTP Service (vCLI only) –state=on Set-Datastore Memory/CPU Utilization List Network Policy Settings # esxtop (ESXi Shell) <datacenter> <resource pool> # vicfg-ntp <conn_options> --stop # esxcli <conn_options> network vswitch standard policy [ Mount a Datastore esxcfg-nics Get-VMHostNetworkAdapter esxcli network nic # resxtop (vCLI) vicfg-nics Set-VMHostNetworkAdapter Users failover | security | shaping ] get # esxcli <conn_options> storage filesystem list Get Guest OS Platform (vCLI only) List Users (vCLI only) vicfg-ntp Get-VMHostNTPServer No equivalent # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> # vicfg-user <conn_options> -e user –o list Port Groups # esxcli <conn_options> storage filesystem volume mount Set-VMHostNTPServer /vmfs/volumes/<volume name>/<vm>/<vm>.vmx getproductinfo List Defined Port Groups –volume-label=label Add User (vCLI only) # esxcli <conn_options> network vswitch standard portgroup esxcfg-rescan Get-VMHostStorage –RescanAllHBA esxcli storage core Host Commands platform # vicfg-user <conn_options> -e user –o add –l <user> -p <password> list NAS vicfg-rescan List NAS Filesystems Get Platform Hosting VM (vCLI only) Change User Password (vCLI only) esxcfg-route Set-VMHostNetwork No equivalent # vicfg-user <conn_options> -e user –o modify –l <user> -p <password> Add a Port Group # esxcli <conn_options> storage nfs list Display host ESXi version # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> # esxcli <conn_options> network vswitch standard portgroup vicfg-route # esxcli <conn_options> system version get /vmfs/volumes/<volume name>/<vm>/<vm>.vmx getproductinfo Assign User Read Only Role (vCLI only) [add|remove] --portgroup-name <portgroup> --vswitch-name Add NAS Filesystem esxcfg-scsidevs Get-ScsiLun esxcli storage core product # vicfg-user <conn_options> -e user –o modify –l <user> --role read-only <name> # esxcli <conn_options> storage nfs add –-host=<FQHN> vicfg-scsidevs Set-ScsiLun esxcli storage core filesystem Set the system time --share=/path/to/share --volume-name=<share name> # esxcli <conn_options> system time set --hour <16> --min <30> --sec <00> Remove User (vCLI only) Add Active Uplink to Port Group Power on a VM (vCLI only) vicfg-snmp Get-VMHostSNMP No equivalent # vicfg-user <conn_options> -e user –o delete –l <user> -g <group> # esxcli <conn_options> network vswitch standard portgroup Remove NAS Filesystem Set the banner message # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> policy failover set –-active-uplinks=<uplink1, uplink2> Set-VMHostSNMP # esxcli <conn_options> system welcomemsg set --message Groups # esxcli <conn_options> storage nfs remove --volume- /vmfs/volumes/<volume name>/<vm>/<vm>.vmx start [ soft | hard ] name=<share name> vicfg-syslog Get-VMHostSysLogServer esxcli system syslog <message string> List Groups (vCLI only) Set a Port Group vlan ID Set-VMHostSysLogServer Power o a VM (vCLI only) # vicfg-user <conn_options> -e group –o list # esxcli <conn_options> network vswitch standard portgroup Configure a remote log host iSCSI # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> Add Group (vCLI only) set --portgroup-name <portgroup> --vlan-id=<vlanid> vicfg-user Get-VMHostAccount No equivalent # esxcli <conn_options> system syslog config set Enable Software iSCSI Set-VMHostAccount --loghost=<ip address> /vmfs/volumes/<volume name>/<vm>/<vm>.vmx stop [ soft | hard ] # vicfg-user <conn_options> -e group –o add –d <groupname> # esxcli <conn_options> iscsi software set –-enabled=true New-VMHostAccount Add a Virtual Network Adaptor to Port Group # esxcli <conn_options> system syslog reload Reset a VM (vCLI only) Add User to Group (vCLI only) # esxcli <conn_options> network ip interface add Remove-VMHostAccount # vicfg-user <conn_options> -e group –o modify –d <groupname> --portgroup-name <portgroup> List iSCSI Adapters Configure a remote dump host # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> --adduser <user1>,<user2>,<user3> # esxcli <conn_options> iscsi adapter list esxcfg-vmknic Get-VMHostNetworkAdapter esxcli network interface vicfg-vmknic Set-VMHostNetworkAdapter # esxcli <conn_options> system coredump network set /vmfs/volumes/<volume name>/<vm>/<vm>.vmx reset [ soft | hard ] Configure the IP Address and netmask for a Port Group --interface-name <vmk#> --server-ipv4 <ip address> --server-port Remove User from Group (vCLI only) # esxcli <conn_options> network ip interface ipv4 set Add iSCSI Adapters esxcfg-volume Get-View needed to call APIs esxcli storage filesystem <portnumber> 6500 Suspending a VM (vCLI only) # vicfg-user <conn_options> -e group –o modify –d <groupname> --interface-name=<vmk#> --ipv4=<ip address> # esxcli <conn_options> iscsi networkportal add –n vicfg-volume --removeuser <username> --netmask<netmask> --type=static <portal_name> -A <vmhba> # esxcli <conn_options> system coredump network set --enable true # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> esxcfg-vswitch Get-VirtualSwitch esxcli network vswitch /vmfs/volumes/<volume name>/<vm>/<vm>.vmx suspend [ soft | hard ] Remove Group (vCLI only) Show iSCSI Status Join host to Active Directory # vicfg-user <conn_options> -e group –o delete –d <groupname> List All Uplink Adapters vicfg-vswitch Set-VirtualSwitch # esxcli <conn_options> network nic list # esxcli <conn_options> iscsi software get Get-VirtualPortGroup Join host to AD domain (vCLI only) Resume a VM (vCLI only) Configure ESXi Dump Collector Set-VirtualPortgroup # vicfg-authconfig --server=<ip address> --username=<user> # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> # esxcli <conn_options> system coredump network set List VMkernel Interfaces Set the iSCSI Name and Alias --password=<password> --authscheme AD --joindomain <domainname> –-interface-name vmk0 --server-ipv4=<ip address> --port=<port name> # esxcli <conn_options> network ip interface list # esxcli <conn_options> iscsi adapter set –-adapter=<iscsi /vmfs/volumes/<volume name>/<vm>/<vm>.vmx resume adapter> --name=<name> vifs.pl Copy-DatastoreItem No equivalent --adusername=<user> --adpassword=<password> PSDrives # esxcli <conn_options> system coredump network set –-enabled=true Add VMkernel Interface Show VM Uptime (vCLI only) # esxcli <conn_options> system coredump network get # esxcli <conn_options> iscsi adapter set –-adapter=<iscsi Verify AD domain (vCLI only) # esxcli <conn_options> network ip interface add vihostupdate Install-VMHostPatch esxcli software # vicfg-authconfig --server <ip address> --authscheme AD –c # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> –-interface-name=<vmk#> --portgroup-name=<portgroup> adapter> --alias=<alias> /vmfs/volumes/<volume name>/<vm>/<vm>.vmx getuptime Configure ESXi Syslog Collector vihostupdate35 Install-VMHostPatch No equivalent Host Operations # esxcli <conn_options> system syslog config set –-loghost=<ip address> List VMkernel Interfaces TBD CHAP Authentication Set iSCSI vmkfstools Get-HardDisk No equivalent Enter/Exit Maintenance Mode (vCLI only) Show VMware Tools Status (vCLI only) # esxcli <conn_options> system syslog reload # esxcli <conn_options> network ip interface ipv4 set # esxcli <conn_options> iscsi adapter auth chap set # vicfg-hostops <conn_options> --operation [enter | info | exit] –-ip=<ip address> --netmask=<subnetmask> --interface- –-direction=mutual –mchap_username=<name> Copy-HardDisk # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> Attaching Devices --mchap_password=<pwd> --level=required --secret=<string> Set-HardDisk name=<vmk#> /vmfs/volumes/<volume name>/<vm>/<vm>.vmx gettoolslastactive Connect CDROM (vCLI only) --adapter=<vmhba> Shutdown/reboot a single host (vCLI only) # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> /vmfs/ vmware-cmd Various cmdlets including: No equivalent 0 = not installed/not running # vicfg-hostops <conn_options> --operation [ shutdown | reboot ] volumes/<volume name>/<vm>/<vm>.vmx connectdevice <CD Drive> Get-VM Set-VM Get-Snapshot 1 = normal Discover iSCSI Storage Devices Set-Snapshot Get-VMGuestInfo Host Backup/Restore 5 = intermittent heartbeat # esxcli <conn_options> iscsi adapter discovery rediscover Start-VM Stop-VM Backup host configuration (vCLI only) 10 = no heartbeat Disconnect CDROM (vCLI only) # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> /vmfs/ ESXi Resources and Quick Links Restart-VM # vicfg-cfgbackup <conn_options> -s </path/filename> volumes/<volume name>/<vm>/<vm>.vmx disconnectdevice <CD Drive> Create VM Snapshot (vCLI only) esxtop Get-EsxTop No equivalent Manage Routes Download ESXi: http://downloads.vmware.com/d/ resxtop Restore host configuration (vCLI only) # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> Set Gateway (vCLI only) # vicfg-cfgbackup <conn_options> -l </path/filename> /vmfs/volumes/<volume name>/<vm>/<vm>.vmx createsnapshot ESXi Documentation: http://www.vmware.com/support/pubs/ esxupdate Get-VMHostPatch esxcli software vib # vicfg-route <conn_options> <gateway> <name> <desc> 0 0 Install-VMHostPatch Managing Modules Add Route (vCLI only) vmkfstools No equivalent No equivalent List all modules Check if VM Has a Snapshot (vCLI only) # vicfg-route <conn_options> -add <ip address> <netmask> <gateway> ESXi Frequently Asked Questions: http://www.vmware.com/ Authentication # esxcli <conn_options> system module list [--enabled=true] products/vsphere/esxi-and-esx/faqs.html#c177114 # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> List Routes (vCLI only) vmkping No equivalent No equivalent List all loaded modules /vmfs/volumes/<volume name>/<vm>/<vm>.vmx hassnapshot # vicfg-route <conn_options> vSphere Install and Upgrade Community: http://communities.vmware.com/ Setting up vMA FastPass vmware-cmd Multiple VM cmdlets available No equivalent # esxcli <conn_options> system module list --loaded=true 0 = snapshot exists Configure DNS community/vmtn/server/vsphere/upgradecenter # vifp addserver <hostname> --username <user> --password 1 = no snapshot Set Fully Qualified Hostname <password> vm-support Get-Log No equivalent Enable/Disable modules # esxcli <conn_options> system hostname set --fdn=<hostname> ESXi 5 Community: http://communities.vmware.com/community/ # viftptarget --set <hostname> # esxcli <conn_options> system module list Revert to VM Snapshot (vCLI only) --enabled = [ true | false ] Display DNS Servers vmtn/server/vsphere/esxi5 # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> ESXCLI Command-Line Authentication # esxcli <conn_options> network ip dns server list # esxcli --server=<vcenter ip> --vihost=<hostname> --user /vmfs/volumes/<volume name>/<vm>/<vm>.vmx revertsnapshot ESXi 4 Community: http://communities.vmware.com/community/ vMA Deployment Tips Add/Remove DNS Server vmtn/server/vsphere/esxi <user> --password <password> <command> Remove VM Snapshot (vCLI only) # esxcli <conn_options> network ip dns server [add|remove] ESXCLI Creating a Session File vMA Docs: https://www.vmware.com/support/developer/vima/ vCLI Supported Platforms # vmware-cmd --server <vcenter ip> --vihost <ESXi host ip> --server=<ip address> ESXi O cial Blog: http://blogs.vmware.com/esxi/ # save_session --savesessionfile <file> --server <vcenter ip> /vmfs/volumes/<volume name>/<vm>/<vm>.vmx removesnapshot Display DNS Search Domain --username <user> --password <pass> vMA Downloads: http://www.vmware.com/downloads/login.do # esxcli <conn_options> network ip dns search list Twitter: @VMwarevSphere, @VMwareESXi vMA Forcibly Stop a VM with ESXCLI ESXCLI Using Windows Pass-Through Authentication vMA Community: http://communities.vmware.com/community/ Linux-based appliance that includes Windows Add/Remove DNS Search Domain vSphere Automation Tools Community: http://communities.vmware.com/ C:esxcli --server <vcenter ip> --passthroughauth # esxcli <conn_options> vm process list # esxcli <conn_options> network ip dns server [add|remove] vmtn/server/vsphere/automationtools/vima the vCLI and vSphere SDK for Perl - Windows Vista Enterprise SP1 community/vmtn/server/vsphere/automationtools?view=overview --passthroughauthpackage “Kerberos” --vihost <hostname> network # esxcli <conn_options> vm process kill --type soft|hard|force --domain=<domain> ip interface list Linux (32-bit and 64-bit) vSphere SDK and Perl Documentation: --world-id <id> Enable DHCP Training: vSphere Transition to ESXi Essentials: http://mylearn.vmware.com/ - RHEL 5.5 Server (32-bit and 64-bit) - Windows 2008 64-bit # esxcli <conn_options> network ip interface ipv4 set ESXCLI Using Environment Variables https://www.vmware.com/support/developer/viperltoolkit/ mgrreg/courses.cfm?ui=www_edu&a=one&id_subject=23970 # VI_USERNAME=root <username> - SLES 10 SP1 (32-bit and 64-bit) - Windows 7 32-bit and 64-bit --interface-name=<vmk#> --type=dhcp vSphere Knowledge Base: Training: What Is New in ESXi 5.0: http://mylearn.vmware.com/mgrreg/ # VI_PASSWORD=vmware123 <password> - SLES 11 (32-bit and 64-bit) Set Static IP http://kb.vmware.com/selfservice/microsites/microsite.do # esxcli <conn_options> network ip interface ipv4 set -- courses.cfm?ui=www_edu&a=one&id_subject=24417 # VI_SERVER=<IP of vCenter Server or ESXi host> - Ubuntu 10.04 (32-bit and 64-bit) interface-name=<vmk#> --ipv4=<ip address> --netmask=<subnetmask> --type=static Summary of all ESXCLI commands: # esxcli <conn_options> esxcli command list • ESXCLI connection options when connecting through vCenter Server: --server <vcenter ip> --vihost <ESXi host ip> • ESXCLI connection options when connecting directly to ESXi host: --server <ESXi host ip>