Skip to main content

Audit Diskpart to Custom DV

Summary​

This script creates a custom table plugin_proval_diskpart_style. It runs PowerShell against Windows machines to fetch disk partition details and populate the information in the database.
Time Saved by Automation: 10 Minutes

Sample Run​

Sample Run

Dependencies​

Process​

  • This script will first create the custom table in the database.
  • Then, it will verify the Windows OS; if it is not Windows, the script will exit.
  • The script will then run PowerShell to fetch disk partition details and store them in the database.

Output​

  • Dataview

Changelog​

2025-04-10​

  • Initial version of the document