Remove-RDMSystemInformationReport
Synopsis
Syntaxe
InputObject
Remove-RDMSystemInformationReport [-InputObject] <PSSystemInformationReport>
[-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm]
[<CommonParameters>]Description
Exemples
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-RDMSystemInformationReportParamètres
-Confirm
-ForcePromptAnswer
-InputObject
-VaultMode
-WhatIf
CommonParameters
Entrées
RemoteDesktopManager.PowerShellModule.PSOutputObject.PSSystemInformationReport
Notes
Mis à jour
Ce contenu vous a-t-il été utile ?