Archives for: December 2009
Dec
28
The only missing "simple" action or method on an array is to retrieve the index number representing a value. That's why I wrote this simple function: # -----------------------------------------------------Function IndexOfArray{param ([array]$x, [String… more »
Dec
23
Microsoft Released Windows Management Framework (Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0) for Windows XP/ Windows Vista/ Windows 2003 and Windows 2008. The RTM version of PowerShell 2.0 is the same version included in Windows 7 and Windows 2008… more »
Dec
20
Template script to use arguments from the command line [updated 24-12-2009]
Scripts, Admin Automation, Admin analyse Send feedback »I had a lot of problems with making a failsafe script that forces the use of 'named' parameters from the commandline and give the posibility to show a help when not used correct. This is my solution and it is possible to use it as a template. See the tes… more »
Dec
17
Clean-ProfileSharev2 Script to clean obsolete profile dirs. more »
Dec
17
Hi all, I started this Blog because I want to share my personal scripts with the rest of the community. There are a lot of sites and blogs for PowerShell and I hope to contribute with my scripts. This Blogsite couldn't exist without me being a consulta… more »