Update to Online

This commit is contained in:
Przemyslaw Klys
2021-01-27 19:08:54 +01:00
parent 7a37d5b9f6
commit 680762733e
2 changed files with 4 additions and 10 deletions
+2 -3
View File
@@ -7,8 +7,7 @@
[string] $Path,
[string] $Splitter = [System.Environment]::NewLine,
[switch] $PreventShow,
[switch] $Offline #,
# [switch] $ForceGPResult
[switch] $Online
)
# if user didn't choose anything, lets run as currently logged in user locally
if (-not $UserName -and -not $ComputerName) {
@@ -154,7 +153,7 @@
if ($Type -contains 'Object') {
$Output
} elseif ($Type -contains 'HTML') {
New-GPOZaurrReportHTML -Path $Path -Offline:$Offline -Open:(-not $PreventShow) -Support $Output
New-GPOZaurrReportHTML -Path $Path -Online:$Online -Open:(-not $PreventShow) -Support $Output
}
}
}