From 02a7183d3ae74788e40c33ca309b20b30789397f Mon Sep 17 00:00:00 2001 From: Roman Gelman Date: Thu, 11 Aug 2016 10:19:26 +0300 Subject: [PATCH] Create README.md Hi Luc, Can you please approve the README.md file, it contains the links to the articles about every function and little help about module usage. --- Modules/Vi-Module/README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Modules/Vi-Module/README.md diff --git a/Modules/Vi-Module/README.md b/Modules/Vi-Module/README.md new file mode 100644 index 0000000..f7a1f2f --- /dev/null +++ b/Modules/Vi-Module/README.md @@ -0,0 +1,34 @@ +## ![powerclilogo](https://cloud.githubusercontent.com/assets/6964549/17082247/44e1392e-517f-11e6-9cbe-9efa0277deaa.png) VMware infrastructure Module + +### [Vi-Module.psm1] (https://github.com/vmware/PowerCLI-Example-Scripts/tree/master/Modules/Vi-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`|