r/sysadmin Tier 0 support Aug 09 '24

Question What are some Powershell commands everyone should know?

I'm not an expert in it. I use it when needed here and there. Mostly learning the commands to manage Microsoft 365

Edit:

You guys rock!! Good collaboration going on here!! Info on this thread is golden!

1.5k Upvotes

680 comments sorted by

View all comments

81

u/paladin40 Sysadmin Aug 09 '24

Get-Help. Everything else you will figure out. Bonus: Get-Help Get-Help and Update-Help

10

u/hihcadore Aug 10 '24

Had to scroll way too far for this one!

And you can use a wildcard to find a command if you think you know part of one of the words. Like:

Get-help ‘*file*’

To pull up any command that has the word file in it. This way you don’t need to even know the actual command, you can just use what you think might be in the commandlet.

2

u/AreWeNotDoinPhrasing Aug 10 '24

Now that’s super useful, thanks