GithubHelp home page GithubHelp logo

export-activedirectoryvisiomap's Introduction

Export-ActiveDirectoryVisioMap

Exports AD OUs and GPOs to a Visio Map

Requirements

RSAT tools for Active Directory and GPO.
VisioAutomation - https://github.com/saveenr/VisioAutomation (this module is imported in the script but I wanted to give mention to Saveenr and all his hard work).
A working copy of Visio installed.




Example: Example Picture

All shapes in visio will have details in the Shape Data

Example OU: Example OU Details

Example GPO: Example GPO Details

export-activedirectoryvisiomap's People

Contributors

tcox8 avatar

Stargazers

Ryan H. Johnston avatar Mathias avatar Ryan Gallagher avatar jkorell avatar  avatar  avatar  avatar Cameron Jones avatar  avatar Steve Ams Onoja avatar

Watchers

 avatar

export-activedirectoryvisiomap's Issues

I have problem with Visio Professional 2021

Error messages are like below;

New-VisioShape : Cannot bind parameter 'Points'. Cannot convert the "1" value of type "System.Double" to type "VisioAutomation.Geometry.Point".
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:77 char:53

  • $n0 = New-VisioShape -Masters $MasterDomain -Points 1.0,1.0
  •                                                 ~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [New-VisioShape], ParameterBindingException
    • FullyQualifiedErrorId : CannotConvertArgumentNoMessage,VisioPowerShell.Commands.VisioShape.NewVisioShape

The property 'Text' cannot be found on this object. Verify that the property exists and can be set.
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:79 char:1

  • $n0.Text = $DNSDomain
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : PropertyNotFound
    
    

The property 'Name' cannot be found on this object. Verify that the property exists and can be set.
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:80 char:1

  • $n0.Name = "n" + $DNSDomain
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : PropertyNotFound
    
    

Get-GPO : The specified directory service attribute or value does not exist. (Exception from HRESULT: 0x8007200A)
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:93 char:16

  •     $gpo = Get-GPO -GUID $gpoGUID
    
  •            ~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Get-GPO], COMException
    • FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.GroupPolicy.Commands.GetGpoCommand

New-VisioShape : Cannot bind parameter 'Points'. Cannot convert the "1" value of type "System.Double" to type "VisioAutomation.Geometry.Point".
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:98 char:64

  • ... $shapeGPO = New-VisioShape -Masters $MasterGPO -Points 1.0,1.0
  •                                                               ~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [New-VisioShape], ParameterBindingException
    • FullyQualifiedErrorId : CannotConvertArgumentNoMessage,VisioPowerShell.Commands.VisioShape.NewVisioShape

The property 'Text' cannot be found on this object. Verify that the property exists and can be set.
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:100 char:9

  •     $ShapeGPO.Text = $GPO.DisplayName
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : PropertyNotFound

The property 'Name' cannot be found on this object. Verify that the property exists and can be set.
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:101 char:9

  •     $ShapeGPO.Name = $shapename
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : PropertyNotFound

Connect-VisioShape : Cannot bind argument to parameter 'From' because it is null.
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:112 char:41

  •     $con = Connect-VisioShape -From $n0 -To $shapeGPO -Master $co ...
    
  •                                     ~~~
    
    • CategoryInfo : InvalidData: (:) [Connect-VisioShape], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,VisioPowerShell.Commands.VisioShape.ConnectVisioShape

The property 'text' cannot be found on this object. Verify that the property exists and can be set.
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:114 char:9

  •     $con.text = "GPO"
    
  •     ~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : PropertyNotFound

The property 'name' cannot be found on this object. Verify that the property exists and can be set.
At K:\Scripts\ad\Export-ActiveDirectoryVisioMap.ps1:115 char:9

  •     $con.name = "gcon" + $conCount #We name it like this so that  ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : PropertyNotFound

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.