header image

Archive for July, 2009

PowerShell in Practice Ch14&15

Posted by: | July 31, 2009 | No Comment |

The latest MEAP for PowerShell in Practice adds chapters 14 and 15 to the set. The book is essentially complete now – with just the appendix and the stuff at the front to do It can be obtained from www.manning.com/siddaway Technorati Tags: PowerShell in Practice

under: PowerShell original

Its a wrap

Posted by: | July 31, 2009 | No Comment |

When we run a cmdlet such as Get-EventLog we often find that the display is truncated PS> Get-EventLog -LogName Application | select -First 5   Index Time          EntryType   Source                 InstanceID Message    —– —-          ———   ——                 ———- ——-    12961 Jul 31 12:39  Information Com4QLBEx                       0 The description for Event ID ‘0’ in Source ‘Com… […]

under: PowerShell original

Services and Processes

Posted by: | July 27, 2009 | No Comment |

Services and processes seem to be a constant source of topics for PowerShell.  Probably because they are so fundamental to Windows. I wanted to see the relationship between a service and its underlying process. 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 […]

under: PowerShellV2

User Group Live Meetings

Posted by: | July 25, 2009 | No Comment |

I’ll be doing a couple of Live Meeting webcasts over the next few weeks: PowerShell remoting – including Exchange 2010 WMI in PowerShell v2 More info when the dates are finalised. If there is a particular topic that you would like to see covered please let me know Technorati Tags: PowerShell User Group

under: PowerShell User Group

Tombstone Periods

Posted by: | July 24, 2009 | No Comment |

We can get the tombstone period of our Active Directory by 001 002 003 $root = [ADSI]""  $ds = [ADSI]("LDAP://CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration," + $root.DistinguishedName) $ds.tombstoneLifeTime   But if the value isn’t set it means we are using the default which changes depending on the version of Windows used to create the forest in the first place. If we have upgraded then […]

under: PowerShell and Active Directory

PowerShell 2.0 ETA

Posted by: | July 24, 2009 | No Comment |

In case you wanted more info on when we can see PowerShell v2 available as a download for XP\2003\Vista\2008  – see  http://blogs.msdn.com/powershell/archive/2009/07/23/windows-powershell-2-0-rtm.aspx The post says a few months before we can get it.  Why the delay? Best guess is that the PowerShell Team have been concentrating on Windows 7\2008 R2 and that the final testing, […]

under: PowerShellV2

July User Group slides and demo

Posted by: | July 23, 2009 | No Comment |

I’ve put the slides and demo file on my Sky Drive http://cid-43cfa46a74cf3e96.skydrive.live.com/browse.aspx/PowerShell%20User%20Group and download the July_2009 zip file Enjoy Technorati Tags: PowerShell User Group,Downloads

under: PowerShell User Group

So the story so far. Our intrepid presenter is sent to the wilds of Northern England and must deliver the Live Meeting to the PowerShell UG from his hotle room.  No problem. First problem is that the network in the hotel isn’t playing the game  (thats English understatement for broken).  It will occassionally let him […]

under: PowerShell User Group

Good news

Posted by: | July 23, 2009 | No Comment |

There’s good news – Windows 7 and Windows 2008 R2 went RTM yesterday.  Look for downloads early next month for TechNet\MSDN subscribers. General availability is 22 October. But there’s more Windows 7 and Windows 2008 R2 contain PowerShell v2 – hurrah.  Turned on by default.  Even better. But there’s more PowerShell v2 will soon be […]

under: PowerShellV2

Excel 2010 PowerShell I

Posted by: | July 16, 2009 | 1 Comment |

This now works for a non-US locale. 001 002 003 004 $xl = New-Object -ComObject "Excel.Application" $xl.visible = $true $wb = $xl.workbooks $wb.Add()   Well to be strictly correct it works in a UK locale and I’m assuming it works for other non-US locales.  As previous versions of Excel threw a wobbly and we had to use an awful work around this is […]

under: PowerShell original

Older Posts »

Categories