Advertisement
Justman10000

PowerShell Coding

Jan 28th, 2024 (edited)
1,113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Below is all the code to do certain things
  2. # Note that placeholders are used here and this is a guide! Do NOT use this as a script (it will not work)!
  3. # Note also that this is a guide for PowerShell, so ONLY for Microsoft Windows
  4.  
  5. # Reload PATH entries
  6. $Env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement