Is there a way to change PowerShell\'s default location?
How do you set PowerShell\'s default working directory?
Type this in PowerShell:
New-Item -path $profile -type file –force
It creates a .ps1 file in the PowerShell folder. Open it, and edit it as:
Set-location C:\files
Done
Refer to this link. It works fine.
Change PowerShell Start Directory