| Title | Author | Age | Description |
|---|---|---|---|
| Import-NmapXML | jgrote | Wed, 02 Feb 2011 12:57:29 | This is a Powershell v2 module that takes NMAP XML output and formats it into custom powershell objects, allowing you to manipulate NMAP output data in Powershell. It operates similarly to import-csv. Based on original script by Jason Fossen: http://blogs.sans.org/windows-security/2009/06/11/powershell-script-to-parse-nmap-xml-output/ |
| Get-DellWarranty | jgrote | Mon, 31 Jan 2011 19:21:33 | Queries the Dell Website for a list of service tags and returns the warranty information as a custom object. If a service tag has multiple warranties, they are returned as multiple separate objects. If no service tag is specified, it will attempt to retrieve and lookup the local system’s service tag. The service tag can be provided to the command in several ways: 1. Using the -servicetag parameter 2. By passing one or more Service Tags via the pipeline 3. By passing objects that have either servicetag or serialnumber defined as a property, such as win32_bios WMI objects |
| Start-AppVTestMode | jgrote | Wed, 18 Aug 2010 22:44:35 | This Script allows testing of newly sequenced App-V apps without having to specify the file:// URL in the OSD, or distributing via the App-V infrastructure or SCCM. It scans a directory and loads all XML manifests for app-v packages in that directory, overriding the default distribution URLs. Replace the $Repository variable in the script with the path to your app-v apps. The OSD files must be present. |
| MoveMailboxBySize | jgrote | Wed, 28 Jul 2010 23:24:14 | This script was developed to assist a customer with moving customizable batches of users, starting smallest mailboxes first in batches, and move them into datastores sorted by last name. This script is modular and can be extended to different filtering mechanisms, or a different datastore sorting criteria. |
| ESXi Config Backup Scrip | jgrote | Thu, 08 Jul 2010 10:27:23 | **********EDIT: See Carter’s Example, it’s way simpler: http://poshcode.org/1559********** ###ESXi Configuration Backup Script #DESCRIPION: This Script takes a CSV file with the hostname, username, and password of a list of ESXi servers, and backs up their configurations to a specified Destination #USAGE: This script is meant to be run as a regular scheduled task or a pre-script for a backup job. There is no version control, so it is recommended to use an external backup program (Such as Backup Exec) to scan this. #LAST MODIFIED: 15 Dec 2009 by JGrote <jgrote AT enpointe NOSPAMDOT-com> #REQUIREMENTS: #VMWare Remote CLI (Tested with 4.0U1) |
| VM Disk Report | jgrote | Thu, 17 Jun 2010 07:44:53 | Gets all Virtual Machines, and exports a CSV that shows their virtual disk capacities and type. Used in this case for sizing a VCB temp disk. |
| Set vSphere CDP LinkDisc | jgrote | Sat, 16 Jan 2010 13:00:46 | A script to set the CDP settings for vsphere. Note that LLDP is an option in vSphere, but it doesn’t work. Here’s hoping for the future! |
| Move-VMThin SVMotion | jgrote | Fri, 15 Jan 2010 10:44:07 | A powershell module to perform Storage VMotions from Thick-to-Thin. Meant to be used in place of Move-VM. Currently only accepts one VM and strings for performance reasons, will accept objects in next revision as well as more documentation. |
| VMWare Quick Migration | jgrote | Tue, 15 Dec 2009 15:08:47 | Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. Want to perform maintenance on a host and need to move the virtual machines off? Easy: Does not work with the free ESXi (except accidentally with ESX 3.5u2) due to the VMWare APIs being disabled. |
| ESXi Config BackupScript | jgrote | Tue, 15 Dec 2009 13:56:12 | ###ESXi Configuration Backup Script #DESCRIPION: This Script takes a CSV file with the hostname, username, and password of a list of ESXi servers, and backs up their configurations to a specified Destination #USAGE: This script is meant to be run as a regular scheduled task or a pre-script for a backup job. There is no version control, so it is recommended to use an external backup program (Such as Backup Exec) to scan this. #LAST MODIFIED: 15 Dec 2009 by JGrote <jgrote AT enpointe NOSPAMDOT-com> #REQUIREMENTS: #VMWare Remote CLI (Tested with 4.0U1) |
PowerShell Code Repository