Join us on May 2nd, as we discuss preparing for DDoS attacks, building resiliency, overcoming obstacles and key preparations to make now before ransomware attacks.
I just got back from teaching a PowerShell class in Stockton, California to@esacteksab and some of his coworkers. We got to a bit of a late start on the first day, so the two of us sat down and looked at some of the scripts he'd written for the...
Windows PowerShell is pretty flexible. For example, you can use either a forward / slash or a back \ slash as a path separator. It also lets you use 'single' or "double" quotation marks for strings (I recently saw someone refer to them as 'speech...
It's extremely common for programmers and scripters to use comments in their scripts. Inline comments help to explain what the script is doing, and provides a clue to whoever comes in later down the line as to what the author was thinking...
Sometimes, an entire PowerShell command can't fit comfortably on a line. That's especially true when you're blogging, or writing books. Take this lengthy command as an example...
A. I had a large folder of virtual machines I had exported. Each folder was a separate machine, and I wanted to run a script to import each VM in the folder. The first step was to use PowerShell to create the list of folders. To do that, I needed...
One of the neat parts about PowerShell's Remoting feature is its support for constrained runspaces. "I want admins to be able to remote into this server, but I only want them to be able to run certain commands, and I don't want them running...