- ℹ️ Report Table HTML - Example
<style>
th {
margin: 3px !important;
background-color: #cccccc !important;
color:#000 !important;
}
td {
| $script:FolderPath = [System.Environment]::GetEnvironmentVariable('TEMP', 'Machine') | |
| function Test-ApplicationInstallbyName { | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter()] | |
| [string] | |
| $SoftwareName | |
| ) | |
| $Registry = @('HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\', 'HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\') |
<style>
th {
margin: 3px !important;
background-color: #cccccc !important;
color:#000 !important;
}
td {
| let value; | |
| try { | |
| const elements = Array.from(document.querySelectorAll('.oc-product-total .item-total')); | |
| const numberElements = elements.filter(el => !isNaN(parseFloat(el.textContent))); | |
| if (numberElements.length > 0) { | |
| value = parseFloat(numberElements[0].textContent); | |
| } | |
| } catch (error) { | |
| console.error(error); | |
| } |
| /* From https://ghlexperts.com/survey-blue-navigation-bar-placement */ | |
| @charset "UTF-8"; | |
| #_builder-form > div.ghl-footer { | |
| background: #349DFF; | |
| position: relative; | |
| bottom: 0; | |
| top: auto; | |
| left: 0; | |
| right: 0; |
| param( | |
| [parameter(mandatory = $false, position = 0)] | |
| [string]$GlobalWhitelist = '{%^tp:whitelist_localadmin^%}', | |
| [parameter(mandatory = $false, position = 1)] | |
| [string]$ClientWhiteList = '{%^el:whitelist_staleusers^%}', | |
| [parameter(mandatory = $false, position = 2)] | |
| [string]$ClientWhiteList_wks = '{%^el:whitelist_staleusers_wks^%}' | |
| ) | |
| $deviceType = Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object -ExpandProperty ProductType | |
| $whitelist = @() |
| param( | |
| [parameter(mandatory = $false, position = 0)] | |
| [string]$GlobalWhitelist = '{%^tp:whitelist_localadmin^%}', | |
| [parameter(mandatory = $false, position = 1)] | |
| [string]$ClientWhiteList = '{%^el:whitelist_staleusers^%}', | |
| [parameter(mandatory = $false, position = 2)] | |
| [string]$ClientWhiteList_wks = '{%^el:whitelist_staleusers_wks^%}' | |
| ) | |
| $deviceType = Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object -ExpandProperty ProductType | |
| $whitelist = @() |
| param( | |
| [parameter(mandatory = $false, position = 0)] | |
| [string]$GlobalWhitelist = '{%^tp:whitelist_localadmin^%}', | |
| [parameter(mandatory = $false, position = 1)] | |
| [string]$ClientWhiteList = '{%^el:whitelist_staleusers^%}', | |
| [parameter(mandatory = $false, position = 2)] | |
| [string]$ClientWhiteList_wks = '{%^el:whitelist_staleusers_wks^%}' | |
| ) | |
| $deviceType = Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object -ExpandProperty ProductType | |
| $whitelist = @() |
| param( | |
| [parameter(mandatory = $false, position = 0)] | |
| [string]$GlobalWhitelist = '{%^tp:whitelist_localadmin^%}', | |
| [parameter(mandatory = $false, position = 1)] | |
| [string]$ClientWhiteList = '{%^el:whitelist_staleusers^%}', | |
| [parameter(mandatory = $false, position = 2)] | |
| [string]$ClientWhiteList_wks = '{%^el:whitelist_staleusers_wks^%}' | |
| ) | |
| $deviceType = Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object -ExpandProperty ProductType | |
| $whitelist = @() |
| param( | |
| [parameter(mandatory = $false, position = 0)] | |
| [string]$GlobalWhitelist = '{%^tp:whitelist_localadmin^%}', | |
| [parameter(mandatory = $false, position = 1)] | |
| [string]$ClientWhiteList = '{%^el:whitelist_staleusers^%}', | |
| [parameter(mandatory = $false, position = 2)] | |
| [string]$ClientWhiteList_wks = '{%^el:whitelist_staleusers_wks^%}' | |
| ) | |
| $deviceType = Get-CimInstance -ClassName Win32_OperatingSystem | Select-Object -ExpandProperty ProductType | |
| $whitelist = @() |
| function Invoke-SentinelWebRequest { | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter()] | |
| [String] | |
| $Server, | |
| [Parameter()] | |
| [String] | |
| $APIToken, | |
| [Parameter()] |