Installation
There are three ways to get Sophia Script. All of them need PowerShell started as Administrator.
Quick download
Downloads and expands the latest release archive for your Windows and PowerShell versions:
iwr script.sophia.team -useb | iex
Downloads the latest version from the last commit:
iwr sl.sophia.team -useb | iex
Both commands only download and expand the archive. They do not run anything.
Manual download
- Download the archive for your Windows and PowerShell versions from Releases.
- Expand the archive.
- Open
Sophia.ps1. Put#before the functions you do not want to run, and remove it before the functions you want. - Start PowerShell as Administrator in the script folder and allow scripts for this session:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force - Run the script:
.\Sophia.ps1
Wrapper
A graphical way to choose functions.
- Download and expand the latest Wrapper.
- Run
SophiaScriptWrapper.exeand importSophia.ps1from the Sophia Script folder. - Select the functions and press Run PowerShell on the Console Output tab.
Only one administrator account should be signed in when the script runs.