Skip to content

Full Width HTMLSections #324

Answered by swordfish291
swordfish291 asked this question in Q&A
Discussion options

You must be logged in to vote
function generateSummaryReport {
    # generate filename for the html report
    $fileName = "DailyHealthSummary_"+(Get-Date -Format dd-MM-yyyy).tostring()+".html"

    #$clusters = $config.clusters
    $cred = getCredentials
    New-HTML -Name 'NetApp Cluster Reports' -FilePath $fileName {
        foreach ($cluster in $clusters){
            # Connect to individual NetApp cluster to collect data.
            Connect-NcController $cluster -Credential $cred
            #Get aggregates with used space more than 70%
            $aggrTable = getAggrHealth | Where-Object Used -gt 70
            #Get volumes with used space more than 70%
            $volumeTable = getVolHealth | Where-Object Us…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@PrzemyslawKlys
Comment options

@swordfish291
Comment options

Answer selected by PrzemyslawKlys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants