Tip 5: Try a container! As a followup on tip 4, you can also try (and of course even run in production) PowerShell (and PowerCLI) in a container with for example Docker! This allows you to investigate if PowerShell is something for you. If you're a long time PowerCLI user, grab that container too! Links: Official PowerShell container:&n...
Jume - My Virtualization Blog
Tip 4: We left off with tip 3, using group-object. This tip is about the PowerShell version. Did you know every version of PowerShell gets lots of performance optimizations? So my tip for now: try out different PowerShell versions! At the time of writing, PowerShell 5.1 Desktop is installed on Windows 10, and the latest stable is 6.2.3 ...
Tip 3: Are you using Where-Object or if/else/elseif in a loop to filter out or to process whatever you need? Consider using: Group-Object. PS H:\> Get-Help Group-ObjectNAME Group-ObjectSYNTAX Group-Object [[-Property] <Object[]>] [-NoElement] [-AsHashTable] [-AsString] [-InputObject <psobject>] [-Culture &...
Tip 1: If you're in a folder (using your file explorer), and want to open a Powershell box there (or command box also works), type 'powershell.exe' in its path and the new window opens at that location. If you run PowerShell Core, you can also use 'pwsh' or if you want a command box window, use 'cmd'. Tip 2: Last few days I've been crea...