mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-03-12 17:51:46 +08:00
* Update Invoke-WinUtilInstallPSProfile.ps1 * Update Invoke-WinUtilInstallPSProfile.ps1 * Update Invoke-WinUtilInstallPSProfile.ps1 * Update Invoke-WinUtilInstallPSProfile.ps1 * Update Invoke-WinUtilInstallPSProfile.ps1 * Mention that ps profile is pwsh only
9 lines
272 B
PowerShell
9 lines
272 B
PowerShell
function Invoke-WinUtilInstallPSProfile {
|
|
|
|
if (Test-Path $Profile) {
|
|
Rename-Item $Profile -NewName ($Profile + '.bak')
|
|
}
|
|
|
|
Start-Process pwsh -ArgumentList '-Command "irm https://github.com/ChrisTitusTech/powershell-profile/raw/main/setup.ps1 | iex"'
|
|
}
|