All Questions
Tagged with profile powershell
6
questions
2
votes
1
answer
424
views
What is the currently the preferred location of PowerShell profiles?
I've come across this (archived) Blog post on PowerShell profiles. In the learning docs I read a note that the scripts should not be stored on OneDrive. Users probably will use the standard settings ...
1
vote
0
answers
125
views
Messed up Windows .ps1 file, and now can't open CMD or run any commands in Powershell
At some point, I created a startup file for cmd and powershell. Ending in .ps1 I think. I must have a typo in it or something because I now get this error in powershell when trying to run commands:
&...
3
votes
0
answers
358
views
Powershell custom prompt with posh-git git status prompt
I made my own custom prompt for PowerShell and my prompt be look like :
[HH:mm] omkrbhagat C:\Users\onkar ~
Then, I installed posh-git module and import in my profile.
Auto tab completion for git ...
0
votes
0
answers
403
views
Powershell Profile is not available over ssh
I have installed openssh on my windows 10 desktop through the apps and features menu. I can ssh to the machine and see my files as my regular user.
I can access my files, but $PROFILE results in "is ...
5
votes
2
answers
7k
views
User's PowerShell Profile Path Location on Linux and macOS?
I cannot find the user's PowerShell local profile file on Linux. Where is it located at on non-Windows OSs?
2
votes
5
answers
2k
views
Windows 7 Powershell profile not working- after setting unrestricted
I just upgraded to Windows 7 and I want to get my Powershell profile up and running.
I load PS and set the execution policy to unrestricted with my 'run as admin' powers, then put my profile in the ...