Strings are a very common thing to see and use in PowerShell. Parameters may take strings and a lot of times the objects that are outputted by various commands have strings as their properties. In ...
In the last paragraph of my column "How To Debug a PowerShell Script," I mentioned that punctuation can be problematic in PowerShell strings. I often catch myself omitting apostrophes, for example, ...
Sometimes you need to scan some files for a piece of data like a string, phrase or some number, and one of those files just happens to be an Excel spreadsheet. You could open up the file, launch the ...
I'm trying to pull SIDs and usernames from the registry on a windows box for use later in a script, so I wrote a bit of powershell to pull those out, trim off the ...
Sometimes it’s easiest to learn something new simply by using it, and to my mind PowerShell is no exception. Often we discover new capabilities and features in looking at what tasks other people are ...
What is PowerShell? Microsoft PowerShell is a powerful administrative tool that can help you automate tasks for your computer ...
I’m making a new Powershell inventory script. I already have one, but I’m fiddling with the arrays to see if I can make the code a little prettier. I can make variables that have custom members with ...
For as long as I can remember, I have always configured the computers within my own organization to store data on network servers as opposed to the data being stored on workstations. That way, if one ...
Previously, WSUS included an option to import updates from the Microsoft Update Catalog site. Users had to use the WSUS admin user interface to import updates. Microsoft has replaced this method with ...
PowerShell combines command-line speed, the flexibility of scripting, and the power of a GUI-based admin tool. See why now might be the time to master it. PowerShell is a powerful scripting tool that ...