Parameter Hyphens: Sometimes, the hyphen character can be an issue, especially if you're copying and pasting the command from a formatted document or a web page. The hyphen might be a non-standard character, like an en dash or an em dash. Type out the command manually or ensure you're using standard hyphens.
Parameter Spacing: Ensure there's a space between each parameter and its value, and between different parameter-value pairs.
Quotes: Try removing the single quotes around the password and see if that resolves the issue.
Version Specific: Some parameters or operations could be version-specific. If you're using a version of SharePoint where the parameters you're using are not applicable, it will throw an error. Check the documentation specific to your SharePoint version.