mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-05 22:28:31 +00:00
* updated theme to the latest version * Update en.yaml * removed all the order from the docs * add the store link * update homepage * add filename and line number to all the code blocks and also removed pages * auto pull the code from the json files * Merge branch 'main' into winutil-new-features * the script updated linenostart= * Delete LaptopHibernation.md
26 lines
855 B
Markdown
26 lines
855 B
Markdown
---
|
|
title: "Run OO Shutup 10"
|
|
description: ""
|
|
---
|
|
```powershell {filename="functions/public/Invoke-WPFOOSU.ps1",linenos=inline,linenostart=1}
|
|
function Invoke-WPFOOSU {
|
|
<#
|
|
.SYNOPSIS
|
|
Downloads and runs OO Shutup 10
|
|
#>
|
|
try {
|
|
$OOSU_filepath = "$ENV:temp\OOSU10.exe"
|
|
$Initial_ProgressPreference = $ProgressPreference
|
|
$ProgressPreference = "SilentlyContinue" # Disables the Progress Bar to drasticly speed up Invoke-WebRequest
|
|
Invoke-WebRequest -Uri "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -OutFile $OOSU_filepath
|
|
Write-Host "Starting OO Shutup 10 ..."
|
|
Start-Process $OOSU_filepath
|
|
} catch {
|
|
Write-Host "Error Downloading and Running OO Shutup 10" -ForegroundColor Red
|
|
}
|
|
finally {
|
|
$ProgressPreference = $Initial_ProgressPreference
|
|
}
|
|
}
|
|
```
|