Monthly Archives: November 2010

January 2011 PowerShell User Group Meeting

Save the date –  11 January 2011  7.30 GMT   UK PowerShell User group presents a Live Meeting with Ed Wilson – THE Scripting Guy. Ed will be talking about:  Windows PowerShell Best Practices Learn Windows PowerShell best practices as … Continue reading

Posted in PowerShell User Group, PowerShell V2 | Leave a comment

Manning book offer

My publisher, Manning, have a 35-50% off offer running on ebooks between now and 1 December – check out http://www.manning.com PowerShell in Practice for Christmas makes a great idea

Posted in Books, PowerShell V2 | Leave a comment

Visio Stencils

If you are looking for Visio stencils – especially of a technical nature – check out Visio cafe – – http://www.visiocafe.com/

Posted in Microsoft, Office 2010 | Leave a comment

PAM 0.4

PowerShell Admin Modules 0.4 is now available.  This adds a PAMSysInfo module to the download that includes the following functions: Get-BIOSInfoGet-BusGet-CDROMGet-ComputerSystemGet-CPUGet-MemIrqGet-OSInfoGet-PageFileGet-SystemGet-TimeZone Get-SystemInfo is a top level function that calls the others for a full system information dump.  All functions take … Continue reading

Posted in PowerShell and WMI, PowerShell V2, PSAM | Leave a comment

SC Virtual Machine Manager

Spent the last two evenings trying to install and configure SC VMM.  Total failure.  Kept getting an error about not being able to connect to the agent on the host – this is after the initial failure of trying to … Continue reading

Posted in General, Microsoft | Leave a comment

PAM 0.3

I’ve added another module to the PSAM project on codeplex. Version 0.3 now has: PAMShares – for working with sharesPAMMath – for working with binary and hexPAMEnv – for working with environmental variables The modules can be downloaded from http://psam.codeplex.com/Continue reading

Posted in PowerShell V2, PSAM | 1 Comment

Remove environmental variable

Lets round off looking at environmental variables by looking at how to remove them 001 002 003 004 005 006 007 008 009 010 011 012 013 014 function remove-environment { param (  [string][ValidateNotNullOrEmpty()]$name,  [switch]$perm,  [switch]$machine ) $value = “” if (-not $perm) {Remove-Item -Path env:\$($name) -Force} else {  if ($machine){$type = “Machine”}  else {$type = “User”}  [System.Environment]::SetEnvironmentVariable($name, $value, $type) … Continue reading

Posted in PowerShell V2 | Leave a comment