bypasses the script execution policy #
a PowerShell command that temporarily bypasses the script execution policy for the current PowerShell session (process) only.
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
Path to Text #
Normally, there’s little need to mess with Windows environment variables.
However, if you’re using development tools or portable programs, you may need to register the PATH variable at least.
When using multiple PCs, keeping these settings in sync can be a hassle. So, how about this?
If you type set
in the Command Prompt, you can view all environment variables. Of course, this isn’t exactly its intended use, but…
This command below saves the environment variables to a TXT file at the specified path. Be sure to include the >
symbol.
set > c:\[desired path to save the txt file]\[filename].txt
Since you can check the PATH settings in the TXT file, you can copy them and apply them to another PC as needed.
That’s it.
Shortcuts #
control panel : control
disk manager : diskmgmt.msc
registry editor : regedit
sevice management : services.msc