-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows.ps1
26 lines (18 loc) · 1.44 KB
/
windows.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# ██╗ ██╗██╗███╗ ██╗██████╗ ██████╗ ████████╗███████╗
# ██║ ██║██║████╗ ██║██╔══██╗██╔═══██╗╚══██╔══╝██╔════╝
# ██║ █╗ ██║██║██╔██╗ ██║██║ ██║██║ ██║ ██║ ███████╗
# ██║███╗██║██║██║╚██╗██║██║ ██║██║ ██║ ██║ ╚════██║
# ╚███╔███╔╝██║██║ ╚████║██████╔╝╚██████╔╝ ██║ ███████║
# ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚═╝ ╚══════╝
# Setup.ps1 - Scott McKendry
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#Requires -RunAsAdministrator
#Requires -Version 7
. .\windows\link.ps1
. .\windows\winget.ps1
. .\windows\psModule.ps1
# Set working directory
Set-Location $PSScriptRoot
[Environment]::CurrentDirectory = $PSScriptRoot
# Path Refresh
$env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User")