Newbie question about “-name”

I am using Taylor Gibbs’ ‘HowToGeek’ Powershell ( https://www.howtogeek.com/141495/geek-school-writing-your-first-full-powershell-script/ ) writeup to get my feet wet, which I have somehow avoided for inexcusably long. I noticed just fooling around with early commands that s/he wants to use “-name” in some commands like

Get-Help -Name Stop-Service

But it returns the same results whether I use #‘-name’ or not.

Is this an optional thing(like for readability)? Or is s/he establishing good practices for later when it IS required?

While I’m here- Any thoughts on Veeam’s free Powershell guide for noobs? Https://go.veeam.com/powershell-study-guide

submitted by /u/Imtakenforgranite
[link] [comments]

Leave a Reply