Let’s ‘graph’ it

So, after some time my  friends and I released the first version on a PSQuickGraph module. It is also available on GitHub. It is  to be able to analyze dependencies in a scripted way.

Let’s give it a try. First you need to do is to install it. To do it, just start PowerShell and issue the following command, which  installs  the module from PS  gallery


Install-Module PSQuickGraph -Scope CurrentUser

Next thing you need to do is to install  graphviz. It is a command line tool which takes the text file in a special format and makes a picture from it. You can take it from here and simply unzip in into a folder. In my case I use c:\temp\graphviz folder. Once it is there you can do some magic.

First –  start PowerShell and say:


Import-Module PSQuickGraph

Now just open this link and copy the contents to the PowerShell window. And in a second  you will see a your first graph made using PowerShell.

You can do a lot more with it,

Enjoy!

Let’s ‘graph’ it

Visio 2016 search is not working

Actually I have no idea how this works, probably I need to investigate deeper, but now I have not enough time tor that. So the issue was with the search, like here or here. Search simply was not working. I run win10 + Visio 2016 pro, all x64. I downloaded Azure and AWS  stencils, put them  to My Shapes folder under Documents and It sis not work.

I spent huge amount of time poking around, I was rebuilding indexes, restarting services, copying files. I even looked into the index with PowerShell. Files were there but Indexing did not work.

And as last resort I just copied and pasted all the files inside of the same directory:
C:\Program Files\Microsoft Office\root\Office16\Visio Content\1033. And suddenly it worked!

So the workaround was to:

  1. Copy all stencil files you need to a C:\Program Files\Microsoft Office\root\Office16\Visio Content\1033
  2. Select them all, copy (CTRL+C) and paste (CTRL+V) them once again in the same directory

And they immediately appear in the search! Don’t ask me why.

visioFilesCopied

visioFilesCopied2

Visio 2016 search is not working