Files
winutil/functions/private/Invoke-WinUtilInstallPSProfile.ps1
T

9 lines
278 B
PowerShell
Raw Normal View History

function Invoke-WinUtilInstallPSProfile {
if (Test-Path $Profile) {
Rename-Item $Profile -NewName ($Profile + '.bak')
}
Start-Process powershell -ArgumentList '-Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"'
}