There is no documentation and no examples how to use Shelly products with Powershell, so lets make some. Powershell is very well equipped to control the Shelly products with its built-in capabilities.
All examples and are based on Powershell 5.1 which is available for Windows 7 and Server 2008 R2 up to the newest Insider builds for Windows and Windows Servers.
I recommend using my examples in Powershell-ISE, which is available in all Windows current versions, set the cursor on the line you want to try and hit the green "run selection" button.
Depending on the age or generation of the shelly you can use rpc commands, which are better organized, or the older query style. Sometimes there are small but useful differences between those for the same function.
The commands with examples for curl are listed at https://shelly-api-docs.shelly.cloud , and they can all be translated to powershell.
Things like "How do I get a list of all available commands?"
How do I read the power usage, and the history data for a specific time frame? (And why is the Energy usage not logged in the .CSV?)
Get the status, use the switch.
Get the status, use the switch.