PowerShell Environment Setup
Everything needed to get a fresh terminal up to speed with the scripts folder.
1. Scripts Folder Symlink
Point the local Scripts folder at the OneDrive source so all scripts are available:
New-Item -ItemType SymbolicLink -Path "C:\Users\Rick\Scripts" -Target "C:\Users\Rick\OneDrive - Coytis\Scripts"Requires admin or Developer Mode enabled.
2. Set Execution Policy
Allow local scripts to run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser3. Install Modules
Exchange Online
Install-Module ExchangeOnlineManagementMicrosoft Graph
Install-Module Microsoft.Graph.Identity.SignIns
Install-Module Microsoft.Graph.Users4. Verify
Get-Module ExchangeOnlineManagement -ListAvailable
Get-Module Microsoft.Graph.Identity.SignIns -ListAvailable
Get-Module Microsoft.Graph.Users -ListAvailableNotes
- Scripts live at
C:\Users\Rick\OneDrive - Coytis\Claude\Scripts— symlinked fromC:\Users\Rick\Scripts - Exchange connects via browser (Chrome preferred for 1Password extension)
- Graph connects via WAM popup —
-ContextScope Processon all scripts keeps sessions isolated per tab