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
# Simple Backup to Email script | |
# Requirements: 7-Zip to be installed | |
# User Variables | |
# Folder to zip and send | |
$TheFolder = "E:\ZipMe" | |
# (sub)Folder to exclude | |
$fExclude = "SkipMe" |
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
<# | |
.SYNOPSIS | |
Update Veeam Backup Job Details | |
.DESCRIPTION | |
This script will adjust settings across all Veeam backup jobs. | |
Individual settings can be added/removed as needed. | |
.NOTES |
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
# Load Veeam snapin | |
Add-PsSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue | |
Clear-Host | |
Write-Host "VM must be explicitly defined in the job" | |
Write-Host "VM can not be inherited by a folder, datastore or other object or it will get excluded as well and job will be empty." | |
Write-Host "" | |
Write-Host "Always confirm job completion via Veeam BR Console" | |
Write-Host "" |
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
function Find-Script | |
{ | |
param | |
( | |
[Parameter(Mandatory=$true)] | |
[string]$Keyword | |
) | |
# Max results returned | |
$Maximum = 20 |
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
Function Get-VMInfo { | |
<# | |
.SYNOPSIS | |
Gather general information about a group of VMs. | |
.DESCRIPTION | |
This function returns general information gathered from a set of one or more VMs. | |
Data returned - Folder, Name, PowerState, FullName, GuestOS, IP, NumCPU, MemoryGB, DiskGB, DiskUsedGB, DiskFreeGB, Notes | |
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
# Load Veeam snapin | |
Add-PsSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue | |
Clear-Host | |
Write-Host "Veeam Single VM Backup Script`n" | |
Write-Host "Notes:" | |
Write-Host "VM must be explicitly defined in the job" | |
Write-Host "VM can not be inherited by a folder, datastore or other object" | |
Write-Host "else it will get excluded as well and job will be empty." | |
Write-Host "Always confirm job completion via Veeam BR Console!" |
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
asnp "VeeamPSSnapIn" -ErrorAction SilentlyContinue | |
#region User-Variables | |
# Report Title | |
$rptTitle = "My Veeam Report" | |
# Report mode - valid modes: any number of hours, Weekly or Monthly | |
# 24, 48, "Weekly", "Monthly" | |
$reportMode = 24 | |
# File Output path and filename | |
# When $sendEmail is set to $false, file is created and opened in default browser |
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
#Requires –Version 3 | |
#Requires -PSSnapin VMware.VimAutomation.Core | |
<# | |
.SYNOPSIS | |
Exports VMware host (ESX/ESXi) information to Excel | |
.DESCRIPTION | |
Queries one or more ESX/ESXi servers directly and exports all info to an Excel workbook | |
A new workbook/file will be created for each host |
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
# | |
# ChangePwd | |
# | |
# Author: Shawn Masterson | |
# Created: June 2013 | |
# Version: 1 | |
# | |
# Purpose: Change local Windows account passwords on remote systems located in a vSphere folder | |
# | |
# |
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
<# | |
.SYNOPSIS | |
Deploy Multiple VMs to vCenter | |
.DESCRIPTION | |
VMs are deployed asynchronously based on a pre-configured csv file (DeployVM.csv) | |
.PARAMETER csvfile | |
Path to DeployVM.csv file with new VM info |
OlderNewer