| Title | Author | Age | Description |
|---|---|---|---|
| Trace-Route | halr9000 | Wed, 19 Oct 2011 14:25:14 | Posting on behalf of James Brundage of http://blog.start-automating.com/. Here’s his quote from email: Look to his blog for further detail on this technique soon. |
| Test-VmMigration | halr9000 | Mon, 17 Oct 2011 08:11:19 | Purpose: Test that a VMware Virtual Machine can be migrated (vMotion) to another host system (ESX Server), without performing the migration. Problem Statement: Migrations can often fail due to various configuration issues. The vSphere Client GUI is able to determine these configuration issues during a migration check that is performed prior to an actual migration. A method of recreating this validation is required in order to ensure that a scheduled migration will succeed. This will give the administrator the time to resolve any configuration issues prior to a planned change going into effect. v0.01: Skeleton code, needs a lot of work. I haven’t figured out what to do with $Results yet |
| Get-EwsEmail | halr9000 | Wed, 28 Sep 2011 20:30:34 | This is a sample script to read emails from an Inbox using Exchange Web Services. The code is a basic port of the C# found here: http://omegacoder.com/?p=454. The EWS SDK is a dependency: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1 |
| Publish-File | halr9000 | Tue, 07 Sep 2010 09:54:41 | Use this to upload one or more files to a SharePoint document library. Should also work with any WebDAV service, although that hasn’t been tested. The filename parameter expects fileinfo objects. Easiest way to do so is to pass them on the pipeline from Get-ChildItem. This script is a refinement of a technique that I first saw here: http://blogs.flexnetconsult.co.uk/colinbyrne/PermaLink,guid,a326572f-8f78-4c80-86d5-1fe52cbd6fe5.aspx. The credential parameter is optional. If you do not supply it, then your currently logged-in credentials are used. |
| Hack ESX MOTD | Halr9000 | Wed, 07 Jul 2010 09:17:41 | Hack your ESXi welcome screen. Join Clyde the Sysadmin as he battles clueless bosses, defective hardware, and the inescapable feeling that he’s a hamster on life’s giant hamster wheel. |
| Hack ESX MOTD | Halr9000 | Wed, 07 Jul 2010 09:17:10 | Hack your ESXi welcome screen. Join Clyde the Sysadmin as he battles clueless bosses, defective hardware, and the inescapable feeling that he’s a hamster on life’s giant hamster wheel. |
| Get-WMIVersions | halr9000 | Wed, 03 Feb 2010 13:02:10 | Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. |
| Get-WMIVersions | halr9000 | Wed, 03 Feb 2010 13:01:16 | Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. |
| New-LinkedClone | halr9000 | Sat, 19 Dec 2009 18:12:15 | PowerCLI script to create linked clones on an ESX server (does require vCenter). This feature is not normally supported on ESX, so this is a pretty nifty thing to do if you like living dangerously. Info on linked clones: http://www.vmware.com/support/ws55/doc/ws_clone_overview.html#wp1028798. |
| Find old snapshots | halr9000 | Sat, 19 Dec 2009 14:04:54 | Simple PowerCLI example to find old snapshots. Note that I would not actually use the techniques shown here, this script was intentionally written this way as a part of a training video in which I am building on techniques. |
PowerShell Code Repository