Disclaimer: I am a consultant at Amazon Web Services, and this is my personal blog. The opinions expressed here are solely mine and do not reflect the views of Amazon Web Services (AWS). Any statements made should not be considered official endorsements or statements by AWS.
Just make sure that Param
should be in the first line of your PowerShell script.
If it is not in the first line, then your might get the above error.