Hello there,
What is the error message you are getting when you try to converting the template to json?
You can customize this script to meet your deployment requirements by editing it in the Windows PowerShell ISE application.There is no support for the ISE in PowerShell v6 and beyond. Users looking for replacement for the ISE should use Visual Studio Code with the PowerShell Extension.
------------------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer--