this post was submitted on 06 Feb 2026
11 points (100.0% liked)

Powershell

1220 readers
6 users here now

PowerShell (POSH) is a a task automation command-line shell and scripting language created by Microsoft. It became part of the FOSS community in 2016 and is now available across Windows, Linux, and macOS

Resources:


Rules:

Self-promotion rules:


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] purplemonkeymad@programming.dev 3 points 2 weeks ago

Couple of little additions that you might like.

You can expand properties using foreach-object as well. Eg

Get-childitem | foreach-object name

If you specify a method name instead of a property, it will call the method on the input object.

You can also inspect types using [typename].getmembers() to list properties and methods without having to create an instance for get-member.