Closed spaelling closed 10 months ago
The xml file is being generated?
yes, but I see no network topology in that. My understanding is that the network topology is in the Visio diagram?
I guess I'm experiencing the same problem, no "Network topology" sheet in the Diagram file. I have to include the parameter -DiagramFullEnvironment in order to get the topology
Hello, I confirm no network topology with of without "DiagramFullEnvironment" parameter. Regards, Red.
I'm not being able to replicate this issue.
1) Do you guys have Virtual Network Gateways in the environment?
2) There is Express Route in the environment?
3) There is vWAN in the environment?
Hello Claudio, yes, we have all of them. Regards, Red.
Hi @red-erik
Can you try the last version of the script and see if this still happens?
Hello, the latest version seems to be working much better. Thank you very much.
Regards, Red.
Hello, to give you more detailed feedback, it works on small Subs with not too many objects while on larger ones, it does not produce any output (Diagram). Regards, Red.
I'm still having the issue even with the last version of the script
Hello, just as a reminder, the code inside the script is commented out so you need to uncomment it
<######################################################### VISIO DIAGRAM JOB ######################################################################> <# Write-Debug ('Checking if Visio Diagram Job Should be Run.') if ($Diagram.IsPresent) { Write-Debug ('Starting Visio Diagram Processing Job.') Start-job -Name 'VisioDiagram' -ScriptBlock {
If ($($args[5]) -eq $true) {
$ModuSeq = (New-Object System.Net.WebClient).DownloadString($($args[7]) + '/Extras/VisioDiagram.ps1')
}
Else {
$ModuSeq0 = New-Object System.IO.StreamReader($($args[0]) + '\Extras\VisioDiagram.ps1')
$ModuSeq = $ModuSeq0.ReadToEnd()
$ModuSeq0.Dispose()
}
$ScriptBlock = [Scriptblock]::Create($ModuSeq)
$VisioRun = ([PowerShell]::Create()).AddScript($ScriptBlock).AddArgument($($args[1])).AddArgument($($args[2])).AddArgument($($args[3])).AddArgument($($args[4]))
$VisioJob = $VisioRun.BeginInvoke()
while ($VisioJob.IsCompleted -contains $false) {}
$VisioRun.EndInvoke($VisioJob)
$VisioRun.Dispose()
} -ArgumentList $PSScriptRoot, $Subscriptions, $Resources, $Advisories, $DFile, $RunOnline, $Repo, $RawRepo | Out-Null
}
#>
Ohhh I see.
We are no longer working with VISIO diagram...
At the moment we only develop the Draw.io diagram...
Thank you for clarifying that.
Regards, Red.
This Issue is stale and may be automatically close soon.
the code for that part is commented out. I am looking for the network topology diagram, which I do no see in the draw.io diagram?