Step 1
Place the file powerbitips.pbitool.json in the following location:
C:\Program Files (x86)\Common Files\Microsoft Shared\Power BI Desktop\External Tools

Step 2
Place the power shell script in the following location:
C:\temp


Note: You can modify the location of the powershell script by adjusting 
the ARGUMENTS property inside the .pbitool.json file.

Sample Argument:
"arguments": "C:/temp/file.ps1"

where the file location is palaced at the path location.