Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. # Chocolatey profile
  2. $ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
  3. if (Test-Path($ChocolateyProfile)) {
  4. Import-Module "$ChocolateyProfile"
  5. }
  6.  
  7.  
  8. #if ((Get-ExecutionPolicy) -ne "RemoteSigned") {set-ExecutionPolicy "RemoteSigned" -verbose}
  9.  
  10. if(-not (Test-Path docs:)){New-PSDrive -Name Docs -Root "$home\OneDrive\Documents\" -PSProvider filesystem | out-null}
  11. function prompt
  12. {
  13. "PS `[$(get-date)`] $($executionContext.SessionState.Path.CurrentLocation)$('>' * ($nestedPromptLevel + 1)) "
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement