Learn PowerShell Built-In Variables |PowerShell Automatic Variables

Pubblicato il: 09 luglio 2023
sul canale di: 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


In questa pagina del sito puoi guardare il video online Learn PowerShell Built-In Variables |PowerShell Automatic Variables della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Automate Opss 09 luglio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 88 volte e gli è piaciuto 2 spettatori. Buona visione!