Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Chocolatey profile
- $ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
- if (Test-Path($ChocolateyProfile)) {
- Import-Module "$ChocolateyProfile"
- }
- #if ((Get-ExecutionPolicy) -ne "RemoteSigned") {set-ExecutionPolicy "RemoteSigned" -verbose}
- if(-not (Test-Path docs:)){New-PSDrive -Name Docs -Root "$home\OneDrive\Documents\" -PSProvider filesystem | out-null}
- function prompt
- {
- "PS `[$(get-date)`] $($executionContext.SessionState.Path.CurrentLocation)$('>' * ($nestedPromptLevel + 1)) "
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement