NEWBIE QUESTION POWERSHELL

Copper Contributor

Hello,

I have just started learning Powershell and have too many questions .
The command
$PSVersionTable
why are we adding $ in front of the command ?
We have several other cmdlets likebut we dont add the $ SIGN In front of them.
get-certificate
get-acl

Thansk
Skaky

1 Reply
The $ sign is used in PowerShell to indicate a variable.
$PSVersionTable is a built-in variable that holds information about your PowerShell version.
Commands like Get-Certificate and Get-Acl are cmdlets, not variables. Cmdlets perform actions and don’t require the $ sign.