Last active
March 22, 2020 11:07
-
-
Save user5145/026cdcb0fdef2e436a34b2ff30528b30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# turn off hibenation | |
powercfg -h off | |
# turn on scripts | |
Get-ExecutionPolicy -List | |
Set-ExecutionPolicy -Scope CurrentUser Unrestricted | |
Set-ExecutionPolicy Unrestricted | |
# create profile | |
test-path $PROFILE.CurrentUserCurrentHost | |
new-item $PROFILE.CurrentUserAllHosts -ItemType file -Force | |
mv C:\Users\$user\Documents\WindowsPowerShell\profile.ps1 C:\Users\$user\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 | |
# cmder | |
.\cmder.exe /REGISTER ALL | |
# choco | |
choco feature enable -n allowGlobalConfirmation | |
# samba | |
net use Z: \\vboxsvr\Downloads |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment