Monthly Archives: June 2009

out-gridview

The version of PowerShell that ships with Windows 7 RC has fixed out-gridview so that we can display more than 10 columns. try get-process | select * | Out-GridView to test it Technorati Tags: PowerShell,version 2

Posted in PowerShell V2 | Leave a comment

AD PowerShell on Windows 2008/2003 – supposedly

As James pointed out recently the AD Web Service from Windows 2008 R2 has been released for Windows 2008 and Windows 2003 –  see http://blogs.msdn.com/adpowershell/archive/2009/06/23/use-active-directory-powershell-to-manage-windows-2003-2008-dcs.aspx for details. Having installed it there doesn’t appear to be any sign of the AD … Continue reading

Posted in PowerShell and Active Directory | 1 Comment

Microsoft Learning Manager

I went on to the Microsoft site looking for books on SQL Server 2008.  What you get is an incomprehensible jumble of stuff.  Don’t tell me about everything there is – let me get to the information I want. I … Continue reading

Posted in SQL Server | 1 Comment

SQL Server autoclose

Buck Woody blogged about SQL Server autoclose and how it should be set to being off  – http://blogs.msdn.com/buckwoody/archive/2009/06/24/sql-server-best-practices-autoclose-should-be-off.aspx  I’m doing a lot with SQL Server and PowerShell at the moment and it started me thinking that I could easily set … Continue reading

Posted in PowerShell and SQL Server | Leave a comment

PowerShell survey

The PowerShell team want to know how you find PowerShell related material – scripts, training material etc etc http://blogs.msdn.com/powershell/archive/2009/06/24/new-powershell-survey-on-connect.aspx Technorati Tags: PowerShell

Posted in Powershell | Leave a comment

foreach usage

I’ve noticed the way foreach is being used and it falls into two groups. I am using foreach-object to keep the discussion straight – like everyone else I use the foreach alias – yes I know I rant about aliases … Continue reading

Posted in Powershell | 4 Comments

AD Recovery

I have always been impressed by by Quest’s AD Recovery Manager and now its even better – yep it has PowerShell cmdlets see http://wiki.powergui.org/index.php/Quest_Recovery_Manager_for_Active_Directory_cmdlets_reference Technorati Tags: PowerShell,Active Directory,Quest

Posted in PowerShell and Active Directory | 1 Comment

Scripting Games – Event 6 and 7

Event 6 Beginners – find the errors in the script Advanced – read a text file of a network trace and find the delay can’t be bothered.  Beginners was done last year plus I really hate scripts that have $objxxx    … Continue reading

Posted in Powershell | Leave a comment

PowerShell in Practice Chapter 13

Chapter 13 – IIS – is now available on MEAP  http://www.manning.com/siddaway Technorati Tags: PowerShell

Posted in Powershell | Leave a comment

Games: Advanced 4

Read a file and create a graph of the results.  The quickest way to graph the data is to take the height and display a number of “*” depending on the value. 001002003004005006007008 clsGet-content "High Jump Stats_Adv4.txt" | foreach {    $data = $_ -split ","    Write-Host "Jumper: $($data[1]) $($data[0]) … Continue reading

Posted in Powershell | Leave a comment