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
-
-
- 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