Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

powerclilogo VMware infrastructure Module

To install this module, drop the entire 'Vi-Module' folder into one of your module directories.

The default PowerShell module paths are listed in the $env:PSModulePath environment variable.

To make it look better, split the paths in this manner $env:PSModulePath -split ';'

The default per-user module path is: "$env:HOMEDRIVE$env:HOMEPATH\Documents\WindowsPowerShell\Modules".

The default computer-level module path is: "$env:windir\System32\WindowsPowerShell\v1.0\Modules".

To use the module, type following command: Import-Module Vi-Module -Force -Verbose.

To see the commands imported, type Get-Command -Module Vi-Module.

For help on each individual cmdlet or function, run Get-Help CmdletName -Full [-Online][-Examples].

Vi-Module Cmdlets:

No Cmdlet Description
1 [Get-RDM] (http://www.ps1code.com/single-post/2015/10/16/How-to-get-RDM-Raw-Device-Mappings-disks-using-PowerCLi) Report all VM with their RDM disks
2 [Convert-VmdkThin2EZThick] (http://www.ps1code.com/single-post/2015/11/05/How-to-convert-Thin-Provision-VMDK-disks-to-Eager-Zeroed-Thick-using-PowerCLi) Inflate thin virtual disks
3 [Find-VcVm] (https://cloud.githubusercontent.com/assets/6964549/17361776/d5dff80e-597a-11e6-85a2-a782db875f78.png) Search VCenter VM throw direct connection to group of ESXi hosts. Thanks to VMGU.ru for the [article] (http://www.vmgu.ru/news/vmware-vcenter-how-to-find-powered-off)
4 [Set-PowerCLiTitle] (http://www.ps1code.com/single-post/2015/11/17/ConnectVIServer-deep-dive-or-%C2%ABWhere-am-I-connected-%C2%BB) Write connected VI servers info to PowerCLi window title bar
5 [Get-VMHostFirmwareVersion] (http://www.ps1code.com/single-post/2016/1/9/How-to-know-ESXi-servers%E2%80%99-BIOSFirmware-version-using-PowerCLi) Get a Firmware version and release date of your ESXi hosts
6 [Compare-VMHostSoftwareVib] (http://www.ps1code.com/single-post/2016/1/10/How-to-compare-installed-VIB-packages-between-two-or-more-ESXi-hosts) Compare installed VIB packages between two or more ESXi hosts
7 [Get-VMHostBirthday] (https://cloud.githubusercontent.com/assets/6964549/12399803/c8439dfa-be24-11e5-8141-09199caa301e.png) Get ESXi hosts' installation date. Thanks to Magnus Andersson for his [idea] (http://vcdx56.com/2016/01/05/find-esxi-installation-date/)
8 [Enable-VMHostSSH/Disable-VMHostSSH] (http://www.ps1code.com/single-post/2016/02/07/How-to-enabledisable-SSH-on-all-ESXi-hosts-in-a-cluster-using-PowerCLi) Enable/Disable SSH on all ESXi hosts in a cluster
9 [Set-VMHostNtpServer] (http://www.ps1code.com/single-post/2016/03/10/How-to-configure-NTP-servers-setting-on-ESXi-hosts-using-PowerCLi) Set NTP Servers setting on ESXi hosts
10 [Get-Version] (http://www.ps1code.com/single-post/2016/05/25/How-to-know-any-VMware-object%E2%80%99s-version-Use-GetVersion) Get VMware Virtual Infrastructure objects' version info: VM, ESXi Hosts, VDSwitches, Datastores, VCenters, PowerCLi, License Keys