This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Witten by Nicholas Mangraviti #VirtuallyWired | |
# Credit to William Lam for the customize.sg script - https://williamlam.com/2018/05/leveraging-instant-clone-in-vsphere-6-7-for-extremely-fast-nested-esxi-provisioning.html | |
# Requires Posh-SSH Module, this script will attempt to install it if not already installed. | |
# Note, this script is not the full instant cloning script this Powershell script which uploads and executes the customize bash script that freezes and prepairs the ESXi virtual Appliance for instant cloning. | |
# Tested with vSphere 6.7, 7.0 & 8.0 | |
# Update Nested ESXi Template IP Below | |
$SourceESXiIP = "172.18.9.19" | |
# Get ESXi Host Credentials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This Script Finds Downloads Virtual Machine Screenshots, Logs or any other files from the Datastore VM directory to your local machine. | |
# Tested on vSphere 6.7 Update 3, vSAN 6.7 Update 3 and VMFS 6. | |
# Script Author: Nicholas Mangraviti #VirtuallyWired | |
# Version: 1.0 | |
# Blog URL: virtuallywired.io | |
# Usage: Just enter the vCenter URL or IP, VM Name, Item Type, eg. LOG or PNG for Screenshots, specify the local path to download the file to. | |
$vCenter = "vc.virtuallywired.io" | |
$Creds = Get-Credential # Prompt for vCenter Credentials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Services = 'faultTolerance','fdm','dhcp' | |
$clusterName = 'VSAN-Cluster' | |
$csv = Import-csv "C:\scripts\allowedipmaster.csv" | |
$VIHosts = (Get-Cluster -Name $clusterName | Get-VMHost) | |
foreach ($VIHost in $VIHosts){ |