-
I had an email about trying to use my Morning Report script to connect to machines that required alternate credentials. For example, you might have non-domain systems in a DMZ. Fair enough. Since most of the report script uses WMI, it wasn’t too...
-
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to update address information in Active Directory Domain Services (AD DS). Microsoft Scripting Guy, Ed Wilson, is here. Yesterday, at the Charlotte Windows PowerShell user...
-
Summary : Learn how to use the Windows PowerShell splatting feature to avoid typing repetitive cmdlet parameters. Hey, Scripting Guy! I am wondering if you can help me. There are some cmdlets that have a lot of parameters. I need to fill these parameters...
-
Getting system information from WMI is a pretty straight-forward thing with Get-WMIObject . You can even specify one or more computer names or IP addresses to retrieve the information remotely. That's all great, but how would you design a function that encapsulates Get-WMIObject (or any other cmdlet...
-
Summary : Microsoft Scripting Guy, Ed Wilson, illustrates step-by-step how to use Windows PowerShell splatting to simplify working with parameters. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, is here. It is a perfectly lovely weekend, and things...
-
Summary: Interact with websites from Windows PowerShell with this how-to post that wraps .NET Framework classes. Hey, Scripting Guy! I would like to be able to download files and things from the Internet via Windows PowerShell. Is there an easy way to...
-
Summary: Learn how to correctly package .NET Framework classes into reusable Windows PowerShell advanced functions in this step-by-step solution. Hey, Scripting Guy! I have been exploring the Microsoft .NET Framework on MSDN and attempting to convert...
-
Summary : Learn how to use Windows PowerShell 2.0 to combine multiple commands into new custom functions and simplify your scripting. Hey, Scripting Guy! I do a lot of work from the Windows PowerShell command line. In fact, I write very few scripts, but...
-
Summary : Learn how to automatically create custom Windows PowerShell functions by using a free tool that writes your code for you. Hey, Scripting Guy! I wish there was a good way to modify Windows PowerShell commands. I can modify the names of commands...
-
Summary : Use the Windows PowerShell 2.0 splatting technique to simplify your scripts. This step-by-step article provides the details. Hey, Scripting Guy! I hope this is not a dumb question; I am a little hesitant to even ask, but something has been bugging...
-
On our internal discussion list, someone just asked about how to pass switch parameters from one function to another. This person asked this as "Why can't [switch] parameters be passed as parameters?". My short answer was simple: "They Can Be" Answering this question is...