An open API service indexing awesome lists of open source software.

https://github.com/antlafarge/windows-scripts


https://github.com/antlafarge/windows-scripts

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# windows-scripts

Useful scripts for Windows

## Get actual execution policies

```ps1
Get-ExecutionPolicy -List
```

## Allow execution of scripts on Windows

```ps1
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
```

## If the script can't be executed

- Set the policy to Unrestricted :
```ps1
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
```
- Execute your script.
- Then reset the policy to RemoteSigned :
```ps1
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
```