Installation
Four steps get you running, one of which is optional but recommended.
1. Clone the repository
# Clone the repository
git clone https://github.com/Thurxm09/Wisely.git C:\Scripts\Wisely2. Allow local script execution
# Skip if already set
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser3. Unblock the downloaded files
# Needed if the repo was downloaded as a ZIP
Get-ChildItem C:\Scripts\Wisely -Recurse -Filter *.ps1 | Unblock-File4. Add a global alias (recommended)
# In your PowerShell profile
Add-Content -Path $PROFILE -Value "`nfunction wisely { & 'C:\Scripts\Wisely\wisely.ps1' @args }" -Encoding ASCII
. $PROFILEStep 4 lets you call wisely from any directory, without navigating to the install folder.
Quick start
# Open the interactive menu (recommended to start)
wisely# Switch directly to a profile
wisely web# Simulate a switch without writing anything
wisely data -DryRun