List Emails through your Exchange Server between two dates
I was troubleshooting an Email issue on an Exchange server and had sent emails with the subject 'Test'. I wanted to see all messages that matched this subject line in the last two days but thought it would be useful to script it so I...
This script is if you want to check the validity of your Veeam replica virtual machine by bringing it up either disconnected from the network or connected to another test network, without affecting the integrity of the replica and allow the replication to continue after...
Useful parameters for connecting to viserver with PowerShell in the VI-Toolkit.
connect-viserver -server vCenter -port 443 -user admin -password @dm1n
To direct input from a command line within a script you can use the following:
This script takes a basic snapshot of a virtual machine, it is a quick script and doesn't quiesce or snapshot the memory of the virtual machine.
Use this if you need to take a quick snapshot of a VM before making changes if you don't want to log in to vCenter.
Enter the VM name and a name for the...
This script will return the slot size information from a vCenter server.
- - -
# This script checks to see whether you are using
# vSphere 4 and if so brings back information on slot sizes
# If you are not using vSphere 4 an...
The following script, sets the CD Drives of your virtual machines to the Client Device option.
It firstly lists machines with CD drives connected then gives you the option to remove or not remove for each one.
- - -
# Dans CD Remover
# Version 1.0
The script below queries virtualcenter for all snapshots and then checks if each one is older than the amount of days you specify in the command line.
If they are older you get a confirmation as to whether to remove or not. Then it moves on to the next snapshot or ends if the last...