| document type | external help file | HelpUri | Locale | Module Name | ms.date | PlatyPS schema version | title |
|---|---|---|---|---|---|---|---|
cmdlet |
linuxtools-Help.xml |
en-US |
linuxtools |
11/09/2025 |
2024-05-01 |
Get-ComputerInventory |
Get hardware and software inventory of the local computer.
Get-ComputerInventory [[-DestinationPath] <string>] [[-SasURI] <string>] [<CommonParameters>]
This cmdlet has the following aliases, {{Insert list of aliases}}
This script will gather hardware and software inventory of the local computer and output the results to a JSON file. Optionally, the results can be sent to a REST API endpoint.
Get-ComputerInventory -DestinationPath "\server\share"
Saves the inventory file to \server\share. The file name is _inventory.json
.blob.core.windows.net//?"
Sends the inventory file to Azure Blob Storage. The file name is _inventory.json
Get-ComputerInventory
Saves the inventory file to the user's Documents folder. File name is _inventory.json
{{ Fill DestinationPath Description }}
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''Optional SAS URI for an Azure Storage Account to upload the inventory file to. Format is https://.blob.core.windows.net//?
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Azure Blob Container requires permissions: Add, Create, Write, List
Any data missing? Let me know!