Thanks. I'm a powershell idiot (I use Linux) but I found out that if you have snap installed you can "sudo snap install powershell --classic" and install it in Linux. Rename the script with a .ps1 suffix, replace the data directory with a unix path like /home/docs and just run it with powershell script.ps1 . Worked like a charm.
Thanks. I'm a powershell idiot (I use Linux) but I found out that if you have snap installed you can "sudo snap install powershell --classic" and install it in Linux. Rename the script with a .ps1 suffix, replace the data directory with a unix path like /home/docs and just run it with powershell script.ps1 . Worked like a charm.