Associate PS1 files with Windows Terminal

To run powershell files directly into Windows Terminal run this powershell script as administrator :

cmd /c assoc .ps1=PowerShellFileV
cmd /c ftype PowerShellFileV=wt.exe PowerShell.exe -NoExit -Command "& `"%1`""

⚠️ You have to keep in mind that if it is not available by default, it might be for a good reason. It might be dangerous to have this as you would be running malicious scripts without wanting to.

Convert SVG files to PDF or PNG with InkScape and PowerShell

InkScape is a very useful tool to create visuals and documents. A boring task with InkScape is the exportation to PNG or PDF. A simple PowerShell script can help quickly export evcey SVG from a directory.

Continue reading Convert SVG files to PDF or PNG with InkScape and PowerShell