Hi,
I want to suggest adding these steps in the README for "installation" (this is more like usage really), because I didn't want to install PowerShell in my Linux-distro, has no Windows machine and have Docker available.
- Start PowerShell container:
docker run --interactive --tty mcr.microsoft.com/powershell:latest
- Inside container:
Invoke-WebRequest -Uri https://github.com/bryanroscoe/shield_optimizer/raw/refs/heads/main/Shield-Optimizer.ps1 -OutFile Shield-Optimizer.ps1
- Run
./Shield-Optimizer.ps1
- Connect via auto discovery or manually with IP
I had to connect manually, doesn't know if that's because auto discovery didn't work inside docker or if it's my network. Other than that, this utility tool worked perfectly!
I don't know too much of PowerShell, maybe there is a better one-liner for the docker run command, doing everything; starting container, download the script and executing it.
Hi,
I want to suggest adding these steps in the README for "installation" (this is more like usage really), because I didn't want to install PowerShell in my Linux-distro, has no Windows machine and have Docker available.
docker run --interactive --tty mcr.microsoft.com/powershell:latestInvoke-WebRequest -Uri https://github.com/bryanroscoe/shield_optimizer/raw/refs/heads/main/Shield-Optimizer.ps1 -OutFile Shield-Optimizer.ps1./Shield-Optimizer.ps1I had to connect manually, doesn't know if that's because auto discovery didn't work inside docker or if it's my network. Other than that, this utility tool worked perfectly!
I don't know too much of PowerShell, maybe there is a better one-liner for the
docker runcommand, doing everything; starting container, download the script and executing it.