Skip to content

Commit 5a14531

Browse files
authored
Add a resolution to scripts being disabled (#14)
* [MicroWin] Change Write-Host to Write-Debug on debug lines. * Add a resolution to scripts being disabled
1 parent 4232f68 commit 5a14531

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions/microwin/Invoke-MicrowinGetIso.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ function Invoke-MicrowinGetIso {
7777
if (-not $?)
7878
{
7979
Write-Host "Could not download the ISO file. Look at the output of the console for more information."
80+
Write-Host "If you get an error about scripts is disabled on this system please close WinUtil and run - 'Set-ExecutionPolicy -ExecutionPolicy Unrestricted' and select 'A' and retry using MicroWin again."
8081
$msg = "The ISO file could not be downloaded"
8182
Invoke-MicrowinBusyInfo -action "warning" -message $msg
8283
Set-WinUtilTaskbaritem -state "Error" -value 1 -overlay "warning"

0 commit comments

Comments
 (0)