In this Video, We will learn about Current Working Directory or Location in PowerShell
Copy this Code in PowerShell ISE (Integrated Scripting Environment)
In case you want to know about how to open PowerShell ISE, please refer • PowerShell As Admin to Edit Registry // EP...
------------------------------------------------------------------------------------------------------
Commands and Code that has been used in this Video is here -
------------------------------------------------------------------------------------------------------
1 Get Current Location
Get-Location
pwd ################ Alias
gl ################# Alias
2 Preserve current path
Push-Location
3 Set current working location to D:
Set-Location -Path D:\PSTraining\PracticeGround
4 Retain location, that was preserved using Push-Location
Pop-Location
************************************************************************
************************************************************************
Join Me on --
Facebook Group
/ mylearningsonline
Facebook Page
/ mylearningsonline
YouTube Channel
/ mylearningsonline
**************************************************************************
#PowerShell #PowerShellScripting #PowerShellForBeginners #learnPowerShell #PowerShelltraining #PowerShellTutorial #MyLearningsOnline #CurrentWorkingDirectory #PowerShellTutorialForBeginners
PowerShell Scripting for Beginners
PowerShell Tutorial for Beginners
PowerShell Full Course
PowerShell Training for Beginners
Present Working Directory in PowerShell
Current Location in PowerShell