Google Cloud SDK Version
- Google Cloud SDK 405.0.0
- bq 2.0.78
- core 2022.09.30
- gcloud-crc32c 1.0.0
- gsutil 5.14
Cloud Tools for Powershell Version
- ModuleVersion = '1.0.1.10'
Issue
When running any cloud tool powershell command inside a GCE instance (successful or unsuccessful), I'm running into this error which always follows with the powershell session crashing. (Running equivalent commands with gcloud do not error, it is just Cloud Tools for Powershell)

For example, when executing the command below it successfully writes a log to cloud logging which I can query, but will still follow with an error and crash.
New-GcLogEntry -LogName "my-log" -TextPayload "This is a log entry."
From the error message, it looks like it may be due to an exception when sending data to the Cloud Monitoring API after running a command.