There are some PowerShell limitations so I had to follow this way. Btw I still using format file.

The storage endpoint (along with any service specific endpoint in the future) can be shown by specifying the env name:
Get-AzureEnvironment China