This is a project to import Active Directory and domain information, based on the default fields that are present for Active Directory flexible assets in ITGlue
Powershell 3.0 is required for this script to run.
Due to requirements I have in my environments, I needed to manually download the module and place into C:\Temp\ITGlue\Modules
Edit line #50 to 'Import-Module ITGlueAPI' and add a line above containing 'Install-Module ITGlueAPI'
.\ITGlueActiveDirectory.ps1 -Organisation 'Contoso Ltd' -Key "ITG.[YOURAPIKEYHERE]"