View vm-file-downloader.ps1
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 |
View Modify-ESXi-FW.ps1
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){ |