Hey, Scripting Guy! The pointy-headed boss is on a rampage. The problem is he has no idea why he is rampaging. This guy makes Nick Bottom seem like Aristotle. His latest obsession concerns service accounts. He wants me to create user accounts, with names like SQL_Service_Account, make these accounts Domain Administrators, and set…
Year: 2010
Dandelions, VCR Clocks, and Last Logon Times: These Are a Few of Our Least Favorite Things
(Note: This blog post appeared originally as an article on the old Microsoft Script Center. It was originally published in December 2005. We are resurrecting it here by popular demand.) Sometimes the things that should be so easy turn out to be incredibly difficult. For example, have you ever tried to get rid of…
Hey, Scripting Guy! Can I Use Windows PowerShell to Manage AD DS Security Groups?
Hey, Scripting Guy! I am a MCSE and I still remember my instructor at the training center running around the room shouting, “Users go into groups, and groups get assigned rights and permissions.” Over and over again in different manners and in different language, but always with the same intent, he kept repeating the…
Hey, Scripting Guy! How Can I Create Users and Organizational Units with Active Directory Domain Services Cmdlets?
Hey, Scripting Guy! I am interested in using Active Directory Domain Services (AD DS) cmdlets to create users and organizational units. Is this a hard thing to do? I only ask this because I am an extremely busy network administrator who has barely had time to begin looking at Windows PowerShell. I do not…
Hey, Scripting Guy! What’s Up with Active Directory Domain Services Cmdlets?
Hey, Scripting Guy! I have heard that Windows PowerShell 2.0 includes cmdlets to work with Microsoft Active Directory Domain Services (AD DS). However, when I use the Get-Command cmdlet to list the available cmdlets in my Windows PowerShell session, I do not see any AD DS cmdlets. What gives? Is this more of…
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (1/22/10)
In this post: How Can I Manage a Remote Storage Array? How Can I Have a Dialog Box’s OK Button Clicked Automatically? How Can I Format Microsoft Excel Columns with Windows PowerShell? Troubleshooting a Script That Creates a Shortcut on a User’s Desktop How Can I Manage a Remote Storage Array? Hey, Scripting Guy! Here…
Hey, Scripting Guy! Can You Give All the Steps for Creating, Installing, and Using Windows PowerShell Modules?
Hey, Scripting Guy! I am still a bit confused about how modules work. Could you give a beginning-to-end scenario and go through the steps of creating a module, installing the module, and then using the module? — SL Hello, SL. Microsoft Scripting Guy Ed Wilson here. I am sipping a cup of organic…
Hey, Scripting Guy! How Do I Work with Windows PowerShell Module Paths?
Hey, Scripting Guy! I have been reading your articles about Windows PowerShell modules this week, but I am still a bit confused about where they go, how to get them there, and the best practice for dealing with them. Do you have any insight about how to actually work with Windows PowerShell module paths?…
Hey, Scripting Guy! How Can I Install Windows PowerShell Modules on Multiple Users’ Computers?
Hey, Scripting Guy! I really dig that I can have a module that contains functions and things. This seems like it would be groovy to use to customize my Windows PowerShell environment. The thing is that I do not want to be hopping around from desk to desk from user to user to copy…
Hey, Scripting Guy! Tell Me About Modules in Windows PowerShell 2.0
Hey, Scripting Guy! I have been reading on Twitter and on various Web sites about Windows PowerShell 2.0 modules. However, I am not sure what a module is. Or why I would want to use one. Can you shed some light? — MH Hello MH, Microsoft Scripting Guy Ed Wilson here. I spent…