For the complete documentation index, see llms.txt. This page is also available as Markdown.

Export-RDMSystemInformationReport

Sinossi

Esporta il report delle informazioni di sistema in un file

Sintassi

__AllParameterSets

Export-RDMSystemInformationReport [-Path] <string> [-InputObject] <PSSystemInformationReport>
 [-Theme <Theme>] [-AsHtml] [-NoClobber] [-VaultMode <VaultMode>]
 [-ForcePromptAnswer <DialogResult[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

Descrizione

Esporta il report delle informazioni di sistema in un file. Sono supportati due formati: *.inv e *.html. Il comportamento predefinito prevede la sovrascrittura dei file esistenti. Per evitarlo, usi lo switch 'NoClobber'.

Esempi

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
        }

Esporta tutti gli inventari dell'ultimo anno

Parametri

-AsHtml

Esporta l'inventario come report html

-Confirm

Richiede una conferma prima di eseguire il cmdlet.

-ForcePromptAnswer

Switch da usare con cautela. Risponderà automaticamente ai prompt che pongono domande sì/no, sì/no/annulla oppure ok/annulla. In caso di prompt multipli, è possibile passare più valori a questo parametro. Ecco i valori accettati:

  • Yes: Accetta il prompt. Copre i valori OK e Automatic.

  • No: Rifiuta il prompt sì/no/annulla. "Cancel" è l'opzione di ripiego se non è presente l'opzione "No".

  • Cancel: Annulla il prompt sì/no/annulla. "No" è l'opzione di ripiego se non è presente l'opzione "Cancel".

-InputObject

Report delle informazioni di sistema ottenuto con Get-RDMSystemInformationReport

-NoClobber

Non sovrascrivere un file esistente

-Path

Percorso in cui viene salvato il file

-Theme

Tema del report html

-VaultMode

Cassaforte a cui verrà applicato il comando. Sono offerte tre scelte:

  • Default: Cassaforte corrente impostata.

  • User: Cassaforte specifica dell'utente corrente.

  • Global: Cassaforte globale dello spazio di lavoro.

-WhatIf

Mostra cosa accadrebbe se il cmdlet venisse eseguito. Il cmdlet non viene eseguito.

CommonParameters

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per maggiori informazioni, veda about_CommonParameters.

Input

RemoteDesktopManager.PowerShellModule.PSOutputObject.PSSystemInformationReport

Oggetto report delle informazioni di sistema con metadati

Note

Per maggiori informazioni, digiti "Get-Help Export-RDMSystemInformationReport -detailed". Per informazioni tecniche, digiti "Get-Help Export-RDMSystemInformationReport -full".

Ultimo aggiornamento

È stato utile?