SHARE
TWEET

Untitled

a guest Jan 20th, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top