Remove-RDMSystemInformationReport
Synopsis
Syntax
InputObject
Remove-RDMSystemInformationReport [-InputObject] <PSSystemInformationReport>
[-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm]
[<CommonParameters>]Description
Examples
PS C:\> $lastYearReports = Get-RDMEntry -Name 'MySystemInformationReportEntry' | Get-RDMSystemInformationReport -After 2023-01-01 -Before 2023-12-31
PS C:\> foreach ($report in $lastYearReports) {
$exportPath = "C:\my\path\$($report.Inventory.ComputerName)_$($report.MetaInformation.CreationDate.ToString('yyyy-MM-dd')).inv"
Export-RDMSystemInformationReport -Path $exportPath -InputObject $report
}
PS C:\> $lastYearReports | Remove-RDMSystemInformationReportParameters
-Confirm
-ForcePromptAnswer
-InputObject
-VaultMode
-WhatIf
CommonParameters
Inputs
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSSystemInformationReport
Notes
Last updated
Was this helpful?