This file contains hidden or 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 New-VeeamTenant { | |
<# | |
.SYNOPSIS | |
Creates a vCloud Tenant Configuguration for Veeam Backuo & Replication | |
.DESCRIPTION | |
Creates a vCloud tenent Configuration for Veeam Backup & Replication. | |
The Function leverages the Veeam Ent. Manager API. The Backup Jobs need to be created seperate | |
This file contains hidden or 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 New-DNATRule ( | |
$EdgeGateway, | |
$ExternalNetwork, | |
$OriginalIP, | |
$OriginalPort, | |
$TranslatedIP, | |
$TranslatedPort, | |
$Protocol) { | |
$Edgeview = Search-Cloud -QueryType EdgeGateway -name $EdgeGateway | Get-CIView | |
if (!$Edgeview) { |
This file contains hidden or 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 Konfig-ESXi { | |
<# | |
.NOTES | |
=========================================================================== | |
Created by: Markus Kraus | |
Twitter: @VMarkus_K | |
Private Blog: mycloudrevolution.com | |
=========================================================================== | |
Changelog: | |
2016.12 ver 1.0 Base Release |
This file contains hidden or 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-VMmaxIOPS { | |
<# | |
.NOTES | |
=========================================================================== | |
Created by: Markus Kraus | |
Twitter: @VMarkus_K | |
Private Blog: mycloudrevolution.com | |
=========================================================================== | |
Changelog: | |
2016.10 ver 1.0 Base Release |
This file contains hidden or 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 Start-UNMAP { | |
<# | |
.SYNOPSIS | |
Process SCSI UNMAP on VMware Datastores | |
.DESCRIPTION | |
This Function will process SCSI UNMAP on VMware Datastores via ESXCLI -V2 | |
.Example | |
Start-UNMAP -ClusterName myCluster -DSWildcard *RAID5* |
This file contains hidden or 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 | |
Add monitor_control.enable_softResetClearTSC = TRUE | |
.DESCRIPTION | |
Add monitor_control.enable_softResetClearTSC = TRUE to the virtual machines advanced configuration | |
.Example | |
./Windows2012-SoftResetTSC.ps1 |
This file contains hidden or 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 | |
PRTG Advanced Scheduled Task Sensor | |
.DESCRIPTION | |
This Advanced Sensor will report Task Statistics. | |
.EXAMPLE | |
PRTG-ScheduledTask.ps1 -ComputerName myComputer.lan.local -TaskName "myTaskName" | |
This file contains hidden or 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 | |
PRTG Veeam Cloud Connect Usage Sensor | |
.DESCRIPTION | |
Advanced Sensor will Report Cloud Connect Tenant Statistics | |
.EXAMPLE | |
PRTG-Veeam-CloudVMs.ps1 -Server VeeamEM.lan.local -HTTPS:$True -Port 9398 -Authentication <dummy> |
This file contains hidden or 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-VMmaxIOPS { | |
<# | |
.NOTES | |
=========================================================================== | |
Created by: Markus Kraus | |
Twitter: @vMarkus_K | |
Private Blog: mycloudrevolution.com | |
=========================================================================== | |
Changelog: | |
2016.08 ver 1.0 Base Release |
This file contains hidden or 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
$myVMs = Get-VM TST* | sort Name | |
$MyView = @() | |
ForEach ($myVM in $myVMs){ | |
$UUIDReport = [PSCustomObject] @{ | |
Name = $myVM.name | |
UUID = $myVM.extensiondata.Config.UUID | |
InstanceUUID = $myVM.extensiondata.config.InstanceUUID | |
LocationID = $myVM.extensiondata.config.LocationId | |
MoRef = $myVM.extensiondata.Moref.Value |