Hello, @Sam Bennett
Welcome to the Microsoft Q&A platform!
According to the error message, there is an issue with your parameter. Please check it carefully in order not to miss any key point like "-".
After finishing this adjustment, you may run the cmdlet successfully.
Should you need more help on this, you can feel free to post back.
If the answer is helpful, please click on “Accept answer” as it could help other members of the Microsoft Q&A community who have similar questions and are looking for solutions.
Thank you for your support and understanding.
Best Wishes,
Alex Zhang