header image

Archive for April, 2009

PowerShell for DBAs

Posted by: | April 19, 2009 | No Comment |

Chad has a very interesting post on “The Value Proposition of PowerShell to DBAs” – http://chadwickmiller.spaces.live.com/blog/cns!EA42395138308430!347.entry where he discusses the results of a poll of DBAs regarding PowerShell. On initial reading it is a bit depressing for the PowerShell community as only 20% of respondents were using PowerShell. However, it gets a bit more cheerful […]

under: PowerShell and SQL Server

Back in this post http://richardsiddaway.spaces.live.com/default.aspx?_c01_BlogPart=blogentry&_c=BlogPart&handle=cns!43CFA46A74CF3E96!2214 we looked at creating OUs using the AD cmdlets in Windows 2008 R2.  We may want to look at the OUs we have in our domain Get-ADOrganizationalUnit -Filter {Name -like "*"} | Format-Table name, distinguishedname -AutoSize or we may want to search for a user Get-ADUser -Identity Richard As regular […]

under: PowerShell and Active Directory

PowerShell v2 introduces the concept of modules – these can be scripts or dlls (think snapin from V1).  The modules that are loaded into PowerShell can be viewed by using get-modules.  When you install roles\functions onto Windows 2008 R2 the PowerShell functionality is delivered as modules.  Use Get-Module -ListAvailable | Select Name To see the […]

under: PowerShellV2

Exchange 2010

Posted by: | April 16, 2009 | No Comment |

Exchange 2007 has been a poster child for PowerShell.  The GUI is layered over PowerShell cmdlets and everything can be performed at the PowerShell prompt.  There are some activities that can only be performed at using PowerShell. The Exchange 2010 beta became available this week.  It has lots of good stuff for Exchange people but […]

under: PowerShell original

PowerShell goes to work

Posted by: | April 14, 2009 | No Comment |

I was working this past weekend. PowerShell saved me lots of time and effort for instance: use the Quest cmdlets to move subnets between sites.  One by hand isn’t too bad but by the time you have tens of the things it gets tedious. moving DCs between sites checking replication is working properly & forcing […]

under: PowerShell original

Interesting Posts

Posted by: | April 9, 2009 | No Comment |

A couple of interesting posts I came across. First up is a way to work with System Center Configuration Manager using PowerShell.  http://blogs.technet.com/mniehaus/archive/2009/04/07/fun-with-configmgr-2007-and-powershell.aspx Some of the System Center family have PowerShell support but not Config Manager.  Hopefully this will be corrected in the next release. The second post was from Jonathan – a UK User […]

under: PowerShell original

Select-String

Posted by: | April 7, 2009 | No Comment |

One task I had to do a a few times recently is track down which GPOs had a particular setting enabled.  If you are working in an environment with a signifcant number of GPOs this can be a tedious task.   The easier way – use the SDMSoftware GPMC cmdlets to create an XML file for […]

under: PowerShell and Active Directory

One thing I have noticed with my quick dip into Windows 2008 R2 is that the extra functionality is all loaded as modules.  This is a new area in PowerShell v2 that enables you to load\unload functionality from your PowerShell sessions.  Modules can be "libraries" of functions as I showed in a recent set of […]

under: PowerShellV2

Windows 2008 R2 – OU

Posted by: | April 6, 2009 | No Comment |

One of the big benefits of Windows 2008 R2 is the fact that PowerShell v2 is installed by default and that AD can be administered by PowerShell.  There are 76 AD cmdlets and an AD provider.  We’ll start by looking at the cmdlets. Organizational Units are the subdivisions with a domain.  We can easily create […]

under: PowerShell and Active Directory

Chapter 11 on AD topology has been posted on Mannings early access site – http://www.manning.com/siddaway/ Enjoy Technorati Tags: PowerShell,PowerShell in Practice,Manning

under: PowerShell original

« Newer Posts - Older Posts »

Categories