If Array Not Empty Powershell Script Generator