Skip to content

Powershell script to automatically draw a simple topology from ConnectWise Automate

Notifications You must be signed in to change notification settings

PatrikErn/Labtech_Diagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Labtech_Diagram Powershell script to automatically draw a simple topology from ConnectWise Automate.

Features: Graph a picture of your current Client and Computers inventory with corresponding locations. It gives an overview on Memory Total , IP-Address, Router Address , and domain. Server will be marked with red double boxes. If a device is not in a domain, and in WORKGROUP its box will be green.

Right now it draws the topology from top to bottom. You can change that easily by @{rankdir='TB'} to LR for left to right. To change Layout entirely: Change Hierarchical to Radial , Circular, Springmodel(Small](Medium)(Large) }| Export-PSGraph -ShowGraph -LayoutEngine Hierarchical

Preparing your data:
Pull data from ConnectWise Automate Data view : Network Make sure you have following columns : ComputerID,Agent Windows Domain,Client Name,Agent Name,Location Name,LocationID,Agent IP Address,Agent Router Address,Agent Type,Agent Memory Total,Agent Mainboard,Agent Serial Number,Agent Operating System,Agent OS Version,Agent MAC Export as csv , remove spaces from Client Name , Location Name and Agent Name.

[Update 2018-03-8 | Fixed multiple arrows from edge ClientName to LocationName |
[Update 2018-06-15| Added digram script to analyze mapped network drives

About

Powershell script to automatically draw a simple topology from ConnectWise Automate

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published