Closed agrancea closed 2 years ago
Hello Adrian,
I'm sorry for the trouble. I wasn't able to reproduce the issue--PowerShell prompted me for the path to the script if I didn't reference variables.ps1:
PS C:\Users\Administrator> C:\scripts\AutodeployEA.ps1
Please enter the path to the variables input file:
Can you run the following command so that I can see your PowerShell version?
Get-Host | Select-Object Version
Hello Coan,
5.1.19041.1320
Hello Adrian,
The PowerShell version could be the issue. We built them and tested them to support PowerShell 6 or higher. The current PowerShell version is 7.2.2.
Hello Coan, It works like a charm in ver 7.2.2. One suggestion for improvement, prompt for credentials rather than leave them on variables file, our security team won't like admin credentials in clear text
Thanks for your help, Adrian
...I made a wrapper around the powershell script which checks for version and retrieves credentials then I call the script.
Thank you for all your help
closing this issue since it's resolved.
nasuni-edge-appliance-automation.ps1 has a error from the start
Thanks, Adrian
r