The Resolve-Error function will show the complete information about the error, which will further help investigate the error. #PowerShell #VMwarePowerCLI #PowerCLIPowerShellErrorReporting #Apache2.0
PowerShell-error-resolution.ps1
2 Comments - Customer always see the "Error : Object reference not set to an instance of an object." Customer is using VMware vSphere PowerCLI 6.3 Release 1 build 3737840 We tried reproducing the same issue in-house but we were unable to get this error message and seen the correct output
A customer of us asked for a report to show Storage vMotion activities. The main reason for that was to optimize the settings for Storage DRS. Based on the report that roughly shows the amount of data being moved during the day by sVMotion the customer noticed a huge performance disadvantage during backup times as lots of large VMs were migrated. I want to share the PowerShell script I created based on Luc Dekens vMotion/sVMotion script. #report #PowerShell #SvMotion #VMwarePowerCLI #powercli #Apache2.0
Storage-vMotion-Activities-Report.ps1
What this script does: This script connects to the vCenter Server and prepares a report on All VMs with at-least one disk enabled with "Multi-Writer" sharing
VMMultiWriterReport.ps1
1 Comment - no search term matches found in comments.
Get-VMotion reports on recent vMotion and Storage vMotion events in your vCenter environment. #SvMotion #powercli #VMwarePowerCLI #PowerShell #MIT #vMotion
Get-VMotion.ps1
What this script does: This script first downloads all the VMX files (per host/cluster/datacenter/VC)at specified file location and scans each VMX file for "multi-writer" flag and finally prepare a report. Author: Vikas Shitole www.vThinkBeyondVM.com Another solution : https://developercenter.vmware.com/samples?id=1169 #MIT #vSphereManagementSDK #multi-writer #PowerShell #VMwarePowerCLI #powercli #vThinkBeyondVM.com #vSphere
VMMultiWriterReport2.ps1
What this script does: Report on DRS cluster VMs and its assciated VM-VM affinity/anti affinity rules. Author: Vikas Shitole www.vThinkBeyondVM.com #drs #powercli #VMwarePowerCLI #PowerShell #vSphereManagementSDK #vSphere #vSphereAPI #MIT
FindRulesForVMInCluster.ps1
What this script does : Report on Cluster usage/capacity data on CPU, Memory and Storage resources across all the cluster in a vCenter server. Author: Vikas Shitole www.vThinkBeyondVM.com #vSphereManagementSDK #VMwarePowerCLI #powercli #MIT #drs #vSphereAPI #vSphere #PowerShell
ClusterResources.ps1
1 Comment - Hi, Vikas Shitole very good script report but how to get informations ready time CPU, DISK and MEMORY contention per cluster
Depending on when vCenter was deployed, this may be approaching expiry." This Powershell script/function will connect to the vCenter(s) specified, and retrieve the STS signing certificates from the vCenter LDAP database with their expiration dates. Instructions: Open a Powershell command line, and change to the directory you saved the script in Use the command: "
Get-STSCerts.ps1
13 Comments - (pointing to vCenter will return a "The LDAP server is unavailable." error)...@2243882484, I modified the script so the certificate import works in Powershell Core now
This PowerShell script enables the powering on or off of a vSAN cluster, and is supported by PowerCLI 13.1...(Before running this script, please remember to connect to VIServer) #Apache2.0 #powercli #vSAN #PowerCLI #PowerShell
snippet.ps1
SampleExchangePowerCLI Module A PowerShell Module that contains integration between VMware's new sample code repository Sample Exchange , and PowerShell ISE. Sample Exchange contains an ever growing catalog of PowerCLI samples and snippets, and this module uses Sample Exchange REST web services to allow a user to paste sample code into their editors directly in PowerShell ISE. Pre-Requisites PowerShell version 4 or later
SampleExchangePowerCLI-master.zip