Learn PowerShell Built-In Variables |PowerShell Automatic Variables

Published: 09 July 2023
on channel: Automate Opss
88
2

Powershell Built-In variables /Automatic variables

store some information
start $ dollar
$PSVersionTable
Second variable
$Home # user directory
$pwd # current working direcotry in which are working
$Pshome # Powershell installation directory or folder
$PSScriptRoot # when you save your file then it will return full path folder in which you have save file
Boolean variables
$true
$false

$null
$Error

$args

Environments variables
$env:HOMEPATH
$env:TEMP
$env:TMP
$env:COMPUTERNAME
$ENV:USERNAME
$env:NUMBER_OF_PROCESSORS
$env:PROCESSOR_ARCHITECTURE

#powershell #powershellscripting #powershellautomation #powershelltraining


On this page of the site you can watch the video online Learn PowerShell Built-In Variables |PowerShell Automatic Variables with a duration of hours minute second in good quality, which was uploaded by the user Automate Opss 09 July 2023, share the link with friends and acquaintances, this video has already been watched 88 times on youtube and it was liked by 2 viewers. Enjoy your viewing!