Skip to content

Monthly Archives: March 2007

Exchange Server 2007 monitoring with PowerShell

21-Mar-07

On Stefan Stranger’s blog, there is a link to a post on the PowerGadget’s forum about some interesting PowerShell scripts that output to PowerGadgets. The end result is something like:

Windows Installer PowerShell Extensions

16-Mar-07

Heath Stewart released a PowerShell extension that works with Windows Installer. For now, two cmdlets are provided:

Get-MSIPatchInfo
Get-MSIProductInfo

Check out CodePlex for full details and download.

Uploading Documents To SharePoint

13-Mar-07

Uploading documents to SharePoint is a common requirement in any SharePoint project. There are many tools at your disposal to accomplish that task but you can also leverage PowerShell in combination with the .NET FrameWork and the SharePoint object model. The script below is an example of how to upload files to SharePoint (save it […]

Resources

08-Mar-07

This page is a work-in-progress.
Learning

PowerShell webcasts
PowerShell in Action
Great book about PowerShell that’s a must read! There is a pdf version for sale as well.
Script samples and a VBScript to PowerShell conversion guide
Free PowerShell Book
PowerShell Graphical Help files

Administration/Deployment

Administrative Templates
Use these ADM files to control PowerShell settings with Group Policy.

Active Directory

Basic guide to manage Active Directory objects
Good […]

Release: PowerShell Community Extensions 1.1

08-Mar-07

PowerShell Community Extensions 1.1 have been released. Just go to CodePlex and download the new version. To upgrade to the new version, first uninstall the old version. The new version also installs perfectly on Windows Vista.
There are many new cmdlets and features in this version. To find out more, just type man about_pscx. The […]

Working with paths in PowerShell

06-Mar-07

An administrator often has to work with paths. Luckily, PowerShell has a couple of cmdlets that make it easy to work with paths, test their validity or extract just the information you need. The test-path cmdlet checks if the path refers to a valid item. For example:
test-path c:\config.sys

If you want to check for the existence […]

Getting VMFS datastore information with PowerShell

01-Mar-07

Well, actually, I should add “and a bit of Perl” to the title. But first, let me explain the idea behind the script. It is a simple script for administrators of VMware Infrastructure to do some reporting on the VMFS datastores in a datacenter. It does some things like calculating the total percentage of free […]