i Love PowerShell
  • Home
  • My PowerShell Story
  • PowerShell Basics
  • PowerShell for Windows Server
Select Page
The Random Password Generator for PowerShell Core 6 and 7

The Random Password Generator for PowerShell Core 6 and 7

by Michael Simmons | Aug 19, 2021 | PowerShell (Modern)

I’ve mentioned previously about How to Create a Random Password using the .NET Framework. That works for Windows Powershell, but it doesn’t work for .NET 5, which is what modern versions of PowerShell use. So what can you do? Well, thankfully it’s...

Ultimate Guide to Using PowerShell Add-Member Cmdlet

by Michael Simmons | Nov 18, 2019 | PowerShell (Modern), Windows PowerShell (Legacy)

Is Add-Member the most underrated and underappreciated cmdlet in PowerShell? PowerShell is so vast and can manage so many platforms and technologies. It’s easy to get deep in one module or topic. But the core features and language of PowerShell is so often where...

How To Open A Directory Chooser Window With PowerShell

by Michael Simmons | Mar 8, 2017 | PowerShell (Modern), Windows PowerShell (Legacy)

I’m sure that you’ve seen plenty of scripts that set a path like “C:\temp” for logs, files, and other outputs.  But did you know that it’s actually very easy to add a pop up directory UI in PowerShell that gives a choice of where to save...

Use XPath to Search XML Nodes by Node Text Value

by Michael Simmons | Sep 16, 2015 | PowerShell (Modern)

Alright, another quick lesson in finding XML. You see, an XML node like this: <server name=”DomainController1″></server> Uses the name as an attribute. I just wrote a post about how to search XML by node attribute. But that won’t do you a...

Searching XML Nodes By Attribute Name with Select-XML

by Michael Simmons | Sep 11, 2015 | PowerShell (Modern)

Any of you say this prayer after you’ve successfully remembered how to filter by the node attribute property with Select-XML and PowerShell? Dear God. Please let me remember this syntax the next time I’m trying to search an XML file. If you will just spare...

Find the processes using the most CPU on a computer with PowerShell

by Michael Simmons | Jun 5, 2015 | PowerShell (Modern), Windows PowerShell (Legacy)

Have a complaint from a user that a server is sluggish? Maybe you’re just curious if the problem you’re seeing on a server is related to a process consuming a lot of CPU, or you know the CPU is pegged and you want to identify which process is the culprit....
« Older Entries

Recent Posts

  • System Information: Getting Hardware, Software, and OS Details
  • Windows Registry with PowerShell: Reading, Writing and Deleting Keys
  • PowerShell for Networks: Pinging, Testing, and Scanning
  • Monitoring Processes with Custom Performance Counters
  • PowerShell for Process Management: Starting, Stopping, and Monitoring Processes

Archives

  • April 2023
  • March 2023
  • August 2021
  • September 2020
  • November 2019
  • October 2019
  • May 2018
  • April 2017
  • March 2017
  • February 2017
  • September 2015
  • June 2015
  • May 2015
  • March 2015
  • January 2015
  • September 2014
  • May 2014
  • August 2013
  • July 2013
  • March 2013
  • September 2012
  • December 2011
  • November 2011
  • March 2011
  • December 2010
  • July 2010
  • May 2010
  • April 2010
  • March 2010

Categories

  • Azure
  • books
  • PowerShell (Modern)
  • PowerShell Basics
  • PowerShell for Windows Server
  • Windows PowerShell (Legacy)