< Back

Get-MsrcVulnerabilityReportHtml

Sat Jan 18, 2020 4:50 pm

NAME Get-MsrcVulnerabilityReportHtml



SYNOPSIS

Use a CVRF document to create a Vulnerability summary





SYNTAX

Get-MsrcVulnerabilityReportHtml [-Vulnerability] <Object> [-ProductTree] <Object> [<CommonParameters>]





DESCRIPTION

Use a CVRF document to create a Vulnerability summary





PARAMETERS

-Vulnerability <Object>

The Vulnerability node of a CVRF document



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ProductTree <Object>

The ProductTree node of a CVRF document



Required? true

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-MsrcCvrfDocument -ID 2016-Aug -ApiKey 'YOUR API KEY' |



Get-MsrcVulnerabilityReportHtml |

Out-File -FilePath Cvrf-CVE-Summary.html



It creates a report with all the Vulnerabilities in a CVRF document









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>$cvrfDoc = Get-MsrcCvrfDocument -ID 2016-Nov



$cvrfDoc.Vulnerability | Foreach-Object {



Write-Verbose "Dealing with CVE: $($_.CVE)" -Verbose

Get-MsrcVulnerabilityReportHtml -Vulnerability $_ -ProductTree $cvrfDoc.ProductTree |

Out-File -FilePath "Cvrf-$($vulnerability.CVE)-Summary.html"

}



It creates a report for each of the Vulnerabilities in a CVRF document









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>$cvrfDoc = Get-MsrcCvrfDocument -ID 2016-Nov



$HT = @{

Vulnerability = ($cvrfDoc.Vulnerability | Where-Object {$_.CVE -In

@('CVE-2016-0026','CVE-2016-7202','CVE-2016-3343')})

ProductTree = $cvrfDoc.ProductTree

}

Get-MsrcVulnerabilityReportHtml @HT | Out-File -FilePath Cvrf-CVE-Summary.html



It creates a report for specific Vulnerabilities in a CVRF document











RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Set-MSRCAdalAccessToken; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Set-MSRCAdalAccessToken [<CommonParameters>]



ModuleName : MsrcSecurityUpdates

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Set-MSRCAdalAccessToken

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Set-MSRCApiKey; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Set-MSRCApiKey [-ApiKey] <Object> [[-Proxy] <uri>] [[-ProxyCredential] <pscredential>]

[-WhatIf] [-Confirm] [<CommonParameters>]



ModuleName : MsrcSecurityUpdates

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Set-MSRCApiKey

Category : Function

Component :

Role :

Functionality :