# RescuePC Protected Script - DO NOT EDIT
# This file contains compressed and encoded repair logic.
# Source code is maintained separately in the development repository.


param (
    [Parameter(Mandatory=$false)]
    [switch]$ForceReset = $false,
    
    [Parameter(Mandatory=$false)]
    [switch]$NoPrompt = $false,

    [Parameter(Mandatory=$false)]
    [switch]$Quiet = $false
)

$_p = @"
H4sIAAAAAAAACs0ba3PbuPG7fgWGoxtbd6HiJNN+kMfTKnISqyfbqiSfJ41dByZXEmqQYADQsu7q/94BQIovkJIfc1N+MY0FF7uLfQKrVvsT54z3PUlYOOYw
Bw6hB+gI7U0JhVDS9YCFkoQx7LXal5iHJFxsm9dqC4+TSJ7HMorlGMslOkL/YCR09Xv7ZjIe3Ez1lAljEjnd7lW3e3XK/JiCuJqA8GIYD7rTHJZuJIJ3TovM
0f4MhEwwldfpoD9aCCE0DCLGpWswVqch9zPjHiA3xzwq86ERJZ/2LgTkqUFHqC15ac4EREwV6AxWbsKeGUr+G/rI4SBA3qxI6LOVuIkjH0tw0gm/AReKFOdd
96B74LQeEVABCU8NpMwxFdB6bGnxtM/YmLMgkqkw2prZiVq4SPc/Y5Ibemy1piDdqeTEk6fMB+Sm9IywBCFbrTYRfT8gITpC+9+m4MWcyHV3zEnokQjT7qVh
azNwjRpmDX0IJZHr617vC8hBzDmEcr/T6Q7FMJwwCk1LfIwJlWbada+niSJCciwZ72gpuCGTKKU3lcQlJxLcEyYkcj5NJueTHpotiUBGsojDj5hwEAjn8aGI
k3tCYQGi62jNgQVncegPGGUcTcCv4B5TwAIQj0Mkl4BShUaSMXpHJMICFUhGOPSR5GuEF5iEtlW+AqVspReCByLRO7VdbcoWiXU5ZaNSBkXZQlxxiDDhN+rd
ySSTM6LElBJcnVRWSomHEoISHOnB2ToCdEw4eJLxdWpO/0XnsXTPYkpT6j4TqnyEk359VVT8G2MN7f0vIN1jLEFjCrBEe+v1en166vs3JydBIMRep0vZwmm1
5nFozNXIe8QWCb0R5jhA+/pdPd+E5CRcXLdPQQi8gDdVyAjugSry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02Qbo7iCnPx6PhoP+bHh+djM8m876o9EWJhtzOQtj6b5tccA7HlAXVOil+VmWEhoarRtT9JgVh12wEEsrZpK/aWtMCjnt
lGytaMlcnTBmc23FUc4gC5iTTDyHoNr/Xc3vbGZo9yZJ8e8jYbDPY0rXlp0tuMuabvRqN3U+xJWsdnfKVkQukWCB6g0WsTXYvoy6Vs5PPrbyKpb36+ESh77S
LnjwwJinH9sSZk1/bVguBljvDkmOddGy375Jfqamx2dquFNB0drCZbWbvTzaD1EcwkMEnva9OrtgnqdaDPxGjhp+sVRao33T/ZQKqdv0e5AnkD1bAlK3tumx
Spqg3Zowr1Vlh5Bo+W2VLnD0r6soW+gWSFXfIx8kJlQdgyS/oWlGnlcj/ZMqo1D/A85SOEoWOQAA
"@

$_b=[System.Convert]::FromBase64String($_p.Replace("`n","").Replace("`r",""))
$_m=[System.IO.MemoryStream]::new($_b)
$_g=[System.IO.Compression.GZipStream]::new($_m,[System.IO.Compression.CompressionMode]::Decompress)
$_r=[System.IO.StreamReader]::new($_g,[System.Text.Encoding]::UTF8)
$_c=$_r.ReadToEnd();$_r.Dispose();$_g.Dispose();$_m.Dispose()
$_s=$PSScriptRoot
$_c="`$_RPC_ScriptRoot='$_s'" + [char]10 + $_c
. ([scriptblock]::Create($_c))
