Skip to content

Commit

Permalink
Added Support for Automated Install
Browse files Browse the repository at this point in the history
  • Loading branch information
simeononsecurity authored Jul 11, 2021
1 parent e1a9fb6 commit 0a4f904
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ You may download the required files from the [GitHub Repository](https://raw.git

**The script may be launched from the extracted GitHub download like this:**

## How to run the script
### Manual Install:
If manually downloaded, the script must be launched from an administrative powershell in the directory containing all the files from the [GitHub Repository](https://github.com/simeononsecurity/.NET-STIG-Script)
```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Get-ChildItem -Recurse *.ps1 | Unblock-File
.\sos-.net-4-stig.ps1
```
### Automated Install:
Use this one-liner to automatically download, unzip all supporting files, and run the latest version of the script.
```powershell
iwr -useb 'https://simeononsecurity.ch/scripts/sosdotnet.ps1'|iex
```

0 comments on commit 0a4f904

Please sign in to comment.