C:\Users\Yuri_Namehere\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 is the keeping grounds of your profile! If the WindowsPowerShell folder does not exist run Set-ExecutionPolicy Unrestricted and then follow it up with Test-Path $Profile which will give you back a true or false response. In the event of a false you furthermore need to run a third command that looks like this: New-Item -path $profile -type file -force
No comments:
Post a Comment