Share via


PoSh Chap

Musings on the splendour of PowerShell...

Find, Disable and Move 'Stale' User or Computer Accounts

Ho! Ho! Ho! A gift from me to you! Well, it's not much of a gift, but it's the gesture that...

Author: Ian Farr [MSFT] Date: 12/25/2014

Strict Replication Consistency On New Domain Controllers

Last time out I talked about Content Freshness and likened it to Strict Replication Consistency....

Author: Ian Farr [MSFT] Date: 12/18/2014

Use PowerShell to Check and Configure DFSR Content Freshness

Every morning I have a PoSh shower - I like to feel fresh - but did you know that DFSR servers like...

Author: Ian Farr [MSFT] Date: 12/11/2014

Scripting Tips and Tricks: Param()

Param() - the next instalment in the exciting Scripting Tips and Tricks series! I'm a tidy...

Author: Ian Farr [MSFT] Date: 11/28/2014

Use PowerShell to Check for High Privilege Group Membership

Here's my latest 'Hey, Scripting Guy! Blog' outing: Use PowerShell to Search Active Directory for...

Author: Ian Farr [MSFT] Date: 11/21/2014

One-Liner: Change Account Lockout Threshold

What's the optimal Account Lockout Threshold value? A question that continues to generate a lot...

Author: Ian Farr [MSFT] Date: 11/14/2014

Verify Active Directory Group Naming Standards

I love the stuff customers ask me! This week one of the chaps relatively new to PowerShell wanted...

Author: Ian Farr [MSFT] Date: 11/07/2014

One-Liner: Active Directory Protected Objects

This week I was asked how to get a list of Active Directory protected objects with PowerShell....

Author: Ian Farr [MSFT] Date: 10/31/2014

Scripting Tips and Tricks: CmdletBinding()

It's been a little while since we've had a Scripting Tips and Tricks post... and, boy, what a topic...

Author: Ian Farr [MSFT] Date: 10/24/2014

Help, I Need Connectivity!

Help, not just any connectivity, Help, you know, I need a proxy... Won't you please, please help...

Author: Ian Farr [MSFT] Date: 10/17/2014

Introducing Scriptify!

A bit of a departure this week... One of my colleagues in the UK has put together...

Author: Ian Farr [MSFT] Date: 10/10/2014

One-Liner: My Take On Finding Stale User and Computer Accounts

Using PowerShell and information in Active Directory to identify 'stale' user or computer...

Author: Ian Farr [MSFT] Date: 10/03/2014

One-Liner: Delegate Group Policy Management

Here's a quick and easy way to delegate the management of existing Group Policy Objects in your...

Author: Ian Farr [MSFT] Date: 09/26/2014

Scripting Tips and Tricks: Write-Verbose

A couple of weeks ago I reminisced about message boxes. In that post I mentioned that I use the...

Author: Ian Farr [MSFT] Date: 09/18/2014

Managing Azure VMs with PS Remoting

I'm a BIG fan of Microsoft Azure. I'm also a BIG fan of dystopian novels. What have the two...

Author: Ian Farr [MSFT] Date: 09/11/2014

Scripting Tips and Tricks: Message Boxes

I used to write a lot of VBScript scripts* and a high percentage of them employed a dialogue box or...

Author: Ian Farr [MSFT] Date: 09/04/2014

Scripting Tips and Tricks: Strict Mode

Dealing with the PoSh progeny, it is important to possess a Strict Mode to compliment the now famous...

Author: Ian Farr [MSFT] Date: 08/29/2014

Scripting Tips and Tricks: Requires

The PoSh family require lots of things. Food, warmth and shelter seem to be at the top of their...

Author: Ian Farr [MSFT] Date: 08/22/2014

NEW & IMPROVED FORMULA: PowerShell and Chuck Norris Wallpaper

Back - by popular demand! An old acquaintance, Mr. Rupert Torquil-Smythe Esq., has emailed (several...

Author: Ian Farr [MSFT] Date: 08/15/2014

Creating a Windows Server 2012 DHCP Failover Relationship

Here's my quick and simple recipe for creating a Windows Server 2012 DHCP failover relationship....

Author: Ian Farr [MSFT] Date: 08/08/2014

Authentication Policy Silos

A short one this week. Here's my latest 'Hey, Scripting Guy! Blog' posts: Weekend Scripter:...

Author: Ian Farr [MSFT] Date: 08/01/2014

Scripting Tips and Tricks: Script Development with Splatting

Advice can be given, ignored or taken. Over the next few weeks I'll write about some scripting...

Author: Ian Farr [MSFT] Date: 07/24/2014

Security Focus: Find User Accounts Configured for DES Encryption

Once more, with feeling: extended support for Windows Server 2003 ends on July 14, 2015......

Author: Ian Farr [MSFT] Date: 07/18/2014

One-Liner: PS Remoting - Connected Clients

They say "imitation is the sincerest form of flattery". Who 'they' are remains a...

Author: Ian Farr [MSFT] Date: 07/11/2014

PS Remoting Considerations

I'm winding my way through the glorious English countryside on an early morning train. The...

Author: Ian Farr [MSFT] Date: 07/03/2014

Useful Windows Feature Commands

There are a number of cmdlets from the ServerManager module that I find myself using on a regular...

Author: Ian Farr [MSFT] Date: 06/26/2014

One-Liner: Windows Server 2012 DHCP - Failover Mode Switching

"...Dynamic Host Configuration Protocol (DHCP) failover in Windows Server 2012 is a new method...

Author: Ian Farr [MSFT] Date: 06/20/2014

One-Liner: Get Windows Server 2003 Server Count

Extended support for Windows Server 2003 ends on July 14, 2015... In Search of Lost Time Hopefully,...

Author: Ian Farr [MSFT] Date: 06/13/2014

Active Directory Replication Cmdlets vs. Repadmin

Repadmin is legend. I mean, who hasn't impressed their friends, family and pets with the...

Author: Ian Farr [MSFT] Date: 06/06/2014

Active Directory Replication Cmdlets - Site Creation

To create an Active Directory site with VBScript took about 30 lines of code and it took a few less...

Author: Ian Farr [MSFT] Date: 05/29/2014

One-Liner: Find Manually Created Replication Connection Objects

Replication connections between domain controllers are created by the Knowledge Consistency Checker...

Author: Ian Farr [MSFT] Date: 05/23/2014

Remote Group Policy Update - 'Under the Bonnet'

Windows Server 2012 introduced the ability to perform remote Group Policy updates, kicked-off from...

Author: Ian Farr [MSFT] Date: 05/21/2014

One-Liner: Targeted Remote Group Policy Updates

Windows 2012 added one additional cmdlet to the PowerShell GroupPolicy module - Invoke-GPUpdate When...

Author: Ian Farr [MSFT] Date: 05/20/2014

Using PowerShell to create a BPA Problem Report

In Microsoft Global Business Support we have a number of proactive health and risk assessments...

Author: Ian Farr [MSFT] Date: 05/19/2014

Tracing the Source of Account Lockouts

As an Active Directory administrator, you have no doubt experienced re-occurring account lockouts....

Author: Ian Farr [MSFT] Date: 05/16/2014

Active Directory Bulk User Modification

An old favourite! This is what automation is all about: making the tedious and the long-winded...

Author: Ian Farr [MSFT] Date: 05/14/2014

One-Liner: Collect AD LDS Lingering Object 1946 Events

Lingering Objects... what are they? Here's the essence of LOs: "...Lingering objects are...

Author: Ian Farr [MSFT] Date: 05/09/2014

PowerShell ISE Script Browser Add-On

Still not using v3 or v 4 of the PowerShell Integrated Scripting EnvironmentnI (ISE) for script...

Author: Ian Farr [MSFT] Date: 05/02/2014

One-Liner: Specific GPO and DC Information from a Forest

Man, I love PowerShell one-liners. The efficiency, the elegance, the challenge! Here's one to...

Author: Ian Farr [MSFT] Date: 05/02/2014

'Retire' Active Directory Non-LVR Group Members

Here's my latest 'Hey, Scripting Guy! Blog' outing. I talk about using the AD...

Author: Ian Farr [MSFT] Date: 04/30/2014

Comprehensive GPO Backup Script

Obtaining a comprehensive, automated backup of your domain Group Policy Objects has always been a...

Author: Ian Farr [MSFT] Date: 04/25/2014

Prepopulate Passwords to RODCs with PowerShell

Hello! The sun is shining, spring has sprung and it's nearly the weekend... life is sweet! Today,...

Author: Ian Farr [MSFT] Date: 04/18/2014

Prompt Delivery

Chatting to a punctual acquaintance, I was directed towards a ‘sweet hack’ to...

Author: Ian Farr [MSFT] Date: 04/04/2014

I seem to have acquired a post sack. It has the initials NP on it... Hmmm, what's inside? This...

Author: Ian Farr [MSFT] Date: 03/21/2014

Logging, On

Below is an excerpt from one of the ‘Inside Track’ pieces I wrote for the Microsoft...

Author: Ian Farr [MSFT] Date: 03/14/2014

One-Liner: Active Directory Schema Version

Rules rule! What's a directory service without schema? This week I was asked about the Active...

Author: Ian Farr [MSFT] Date: 03/07/2014

PowerShell, DHCP and Star Wars

Like PowerShell? Like Star Wars? Like PowerShell AND Star Wars? Then, my friend, these are the...

Author: Ian Farr [MSFT] Date: 03/03/2014

PowerShell and Executable Output (with Boats)

What floats your boat? For me, it’s usually a body of water, but I also like being asked stuff...

Author: Ian Farr [MSFT] Date: 02/28/2014

<Previous Next>