Question: the term 'param' is not recognized as the name?
Answer: Solution: The term 'Param' is not recognized as the name of a cmdlet. 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 above error. Solution Reference: https://stackoverflow.com/questions/1315140/powershell-2-0-param-keyword-error.