# Define the URL of the script $scriptUrl = "https://git.cowetacomputers.com/api/v1/repos/Coweta-Computers/utilities/+/raw/setup-script.ps1?routingId=&git_ref=main" $scriptName = "setup-script.ps1" # Download the script Write-Host "Downloading script..." Invoke-WebRequest -Uri $scriptUrl -OutFile $scriptName Write-Host "Script downloaded successfully." # Run the script with administrative permissions Write-Host "Running script with administrative permissions..." Start-Process PowerShell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File $PWD\$scriptName" -Verb RunAs;