The Restore-MDMInventoryDefaultscmdlet returns the inventory collection process to its original installed state, together with any added inventory collection elements.
Syntax
Restore-MDMInventoryDefaults [-WhatIf] [-Confirm] [<CommonParameters>]  | 
Parameters
The following describes the Restore-MDMInventoryDefaultscmdlet parameters.
- WhatIf
 - 
Informs you of what changes would be made if the action were to be performed (the cmdlet is not executed).
 
- Confirm
 - 
Prompts you for confirmation before the cmdlet executes.
 
- CommonParameters
 - 
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, at the Mobile Device Manager (MDM) Shell prompt, type get-help about_commonparameters.
 
Input Type
None
Output Type
None
Examples
This Restore-MDMInventoryDefaultscommand example returns all the settings of the inventory collection process to their default values.
 Copy Code
 | 
|
|---|---|
C:\PS>Restore-MDMInventoryDefaults  | 
|
Cmdlet Help
To view this information online, at the MDM Shell prompt, type:
get-help Restore-MDMInventoryDefaults -detailed, or get-help Restore-MDMInventoryDefaults -full
See Also