This repository is a Powershell module that can be installed to calculate Virtual Machines' optimal vCPU configuration (number of sockets and cores) based on the physical NUMA of the host it is running on, and the minimums in the cluster. It will also make recommendations based on host Power...
VMCO-master.zip
2 Comments - no search term matches found in comments.
The current sample is a Jupyter notebook, which demonstrates integrating VI/JSON in pyVmomi scripts. More precisely: pyVmomi authentication against a vCenter deployment. Acquisition of the session ID from the pyVmomi stub. Event History Collector creation via VI/JSON. Latest events...
viJsonPyvmomi.ipynb.gz
A collection of API invocations showcasing the Virtual Infrastructure JSON API (introduced in 8.0 U1) This collection will attach a standalone host to a vCenter deployment, create a virtual machine on the host and power it on. Requirements: 8.0 U1 vCenter instance A compatible standalone...
vSphere Virtual Infrastructure JSON API.postman_collection.json
Program to override vCLS default VM placement and allow/disallow vCLS VM placement on specific datastores. vSphere Cluster Services (vCLS) is a new feature in vSphere 7.0 Update 1. This feature ensures cluster services such as vSphere DRS and vSphere HA are all available to maintain the...
ClusterSystemVMsAllowedDatastores.java
Enable Microsoft VBS on VM using vSphere Java API Microsoft virtualization-based security, also known as “VBS”, is a feature of the Windows 10 and Windows Server 2016 operating systems. It uses hardware and software virtualization to enhance Windows system security by creating an isolated,...
EnableVBS.java
This function checks for available updates on the VCSA. Get-VcsaAvailableUpdates -vcenter vcsa-lab00.domain.local -ssouser administrator@vsphere.local vcsa-lab00.domain.local version is 7.0.3.00800 build 20150588 Available updates are below: name version -- ----- VC-7.0U3i 7.0.3...
snippet.ps1
Set NTP Source Servers for VMware ESXi via PowerCLI - ESXi 6.7u3 and 7.0u3 .SYNOPSIS Set NTP Source Servers for VMware ESXi .DESCRIPTION Example is using Google NTP source IP. This is not for production use. .EXAMPLE Set-EsxiNtpSource -vcenter 'vcenter.fqdn.com' Set-EsxiNtpSource -vcenter...
EXAMPLE OUTPUT: |Filesystem | UsedPct|UsedGB|TotalGB|HardDisk|Partition| |-- | --|--|--|---|--| |/boot | 8.33| 0.04| 0.48| | | |/storage/archive | 0.27| 0.26| 97.92| 13| archive | |/storage/autodeploy | 0.16| ...
Set NTP Source Servers for VMware VCSA via API - VCSA 6.7u3 and 7.0u3 .SYNOPSIS Set NTP Source Servers for VMware VCSA .DESCRIPTION Example is using NIST NTP source IPs. These are not for production use. .EXAMPLE Set-VcsaNtpSource -vcenter 'vcenter.fqdn.com' Set-VcsaNtpSource -vcenter ...
Renew-vcsaSignedCert The Renew-vcsaSignedCert will renew the existing VCSA-signed MACHINE CERT certificate. Parameters: $vcenter (vCenter FQDN or IP address) $vc user (SSO Administrator) $vc pass (SSO Administrator password) $duration (Duration in days to renew the certificate; 730...