If you work in PowerShell as much as I do and you have a dedicated folder where you run scripts, having to keep navigating to the folder can become a pain. By default, PowerShell will open up in the user that is logged in directory, below we can see that I am logged into this server as Administrator and thus PowerShell started in “C:\Users\Administrator”:
![Quickly update the default startup location when opening powershell in server 2022 Quickly update the default startup location when opening powershell in server 2022](https://everything-powershell.com/wp-content/uploads/2023/12/image-1.png)
If you open up the properties page for Windows PowerShell, the “Start in” location is set to “%HOMEDRIVE%%HOMEPATH% as shown below:
![Quickly update the default startup location when opening powershell in server 2022 Quickly update the default startup location when opening powershell in server 2022](https://everything-powershell.com/wp-content/uploads/2023/12/image-2.png)
We can change this, in the example below, I removed the “%HOMEPATH% option and applied the changes which will look like this:
![Quickly update the default startup location when opening powershell in server 2022 Quickly update the default startup location when opening powershell in server 2022](https://everything-powershell.com/wp-content/uploads/2023/12/image-3.png)
When we launch PowerShell now, it will show the path as “C:\Windows\System32” as you can see below:
![Quickly update the default startup location when opening powershell in server 2022 Quickly update the default startup location when opening powershell in server 2022](https://everything-powershell.com/wp-content/uploads/2023/12/image-4.png)
If the above path is not what you want, change it to where you want to start it when you launch PowerShell.
Hope it helps.