Skip to main content

Create and Populate plugin_proval_dns_extradata

Summary​

This script will create the plugin_proval_dns_extradata table and populate it with the required data.

Sample Run​

Sample Run

Dependencies​

Variables​

Document the various variables in the script. Delete any section that is not relevant to your script.

NameDescription
finishstatusThe finish status of the EPM - Windows Configuration - Script - PowerShell Environment Setup Verification script.
WorkingDirectoryThe directory to populate a .json file to be parsed and added to the table.
JsonFileNameThe name of the JSON file to be created by the script.
psoutThe results of a PowerShell command.
SQLStartStatementRequired by CWM - Automate - Script - OverFlowedVariable - SQL Insert - Execute
SQLTailStringRequired by CWM - Automate - Script - OverFlowedVariable - SQL Insert - Execute
DataPointNamesRequired by CWM - Automate - Script - OverFlowedVariable - SQL Insert - Execute

Global Parameters​

NameExampleRequiredDescription
TableNameplugin_proval_dns_extradataTrueThe name of the table.
ProjectNameGet-DNSObjectsTrueThe name of the project.

Process​

  1. Utilize the new EPM - Windows Configuration - Script - PowerShell Environment Setup Verification script to determine if this script will operate as expected.
  2. Check for a failure in the verification script; if it fails, log an error and exit with an error.
  3. Create the table.
  4. Run a PowerShell command to obtain the DNS objects and necessary data and save it to a .json file.
  5. Use the overflowed variable script to populate the data into the table.

Output​

  • Script log

Changelog​

2025-04-10​

  • Initial version of the document