PowerShell and the Quest Active Directory cmdlets are a dream come true for any AD Administrator. Methods that used to take more complicated means are now simple one-liners.
One of the nice improvements of AD cmdlets 1.0.4 is the way you can get enable, disable, and unlock AD user accounts with simple one-liners.
Here are a few oneliners demonstrating the new functionality:
#Get all disabled accounts
Get-QADUser -Disabled $true
#Get all locked accounts in the accounting department
Get-QADUser -Locked $true -Department Accounting
#Enable all the disabled accounts
Get-QADUser -Disabled $true | Enable-QADUser
#Unlock a specific user account
Unlock-QADUser DSotnikov
Dmitry’s PowerBlog: PowerShell and beyond
Published by ryangl August 14th, 2007
in Linux, Management and Windows Server 2008.
With Windows 2008, more notably Windows 2008 Core, will this mean the end of Linux-based server appliances? More than likely not, just due to pure licensing costs, but that doesn’t mean Redmond will not make it interesting in the coming years. With the release of Windows 2008 Core, Microsoft has the ability to offer hardware appliances with Core stamped on them. But then again, Microsoft isn’t in the hardware business, at least not yet.
Like many organizations, we have several “appliances” in our data center that perform specific tasks. All of our appliances are Linux-based, hardened devices that are efficient with a small attack surface. Linux is a better choice over the bloated, large attack surface presented by current Windows Server operating systems. But things may change with Longhorn.
Microsoft Longhorn: A shot across the Linux bow
Recent Comments