Public/Export-AnyStackHtmlReport.ps1
|
function Export-AnyStackHtmlReport { <# .SYNOPSIS Export-AnyStackHtmlReport - A specialized AnyStack Enterprise tool. .DESCRIPTION Autogenerated production cmdlet for AnyStack.Reporting. #> [CmdletBinding(SupportsShouldProcess=$true)] param( [Parameter(Mandatory=$true)] [string]$Server ) process { $ErrorActionPreference = 'Stop' if ($PSCmdlet.ShouldProcess($Server, "Export-AnyStackHtmlReport")) { try { Write-Host "[ANYSTACK] Running Export-AnyStackHtmlReport on server $Server" -ForegroundColor Cyan } catch { Write-Error "Failed to execute Export-AnyStackHtmlReport: $$($_.Exception.Message)" } } } } |