diff --git a/Private/New-GPOZaurrReportHTML.ps1 b/Private/New-GPOZaurrReportHTML.ps1
index eb42db5..4d183c9 100644
--- a/Private/New-GPOZaurrReportHTML.ps1
+++ b/Private/New-GPOZaurrReportHTML.ps1
@@ -3,14 +3,9 @@
param(
[System.Collections.IDictionary] $Support,
[string] $Path,
- [switch] $Offline,
+ [switch] $Online,
[switch] $Open
)
-
-
-
-
-
$PSDefaultParameterValues = @{
"New-HTMLTable:WarningAction" = 'SilentlyContinue'
}
@@ -194,5 +189,5 @@
}
}
}
- } -Online:(-not $Offline.IsPresent) -Open:$Open.IsPresent -FilePath $Path
+ } -Online:$Online.IsPresent -Open:$Open.IsPresent -FilePath $Path
}
\ No newline at end of file
diff --git a/Public/Invoke-GPOZaurrSupport.ps1 b/Public/Invoke-GPOZaurrSupport.ps1
index d60d66e..260a02c 100644
--- a/Public/Invoke-GPOZaurrSupport.ps1
+++ b/Public/Invoke-GPOZaurrSupport.ps1
@@ -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
}
}
}