0

While using gcloud flags like filter and format on Windows, passing in single-quoted arguments doesn't yield the expected result.

For example, running gcloud compute instances list --filter='status=TERMINATED' returns an empty list, even though there are terminated instances present.

1 Answers1

1

The reason that single-quoted arguments don't produce the expected result is because cmd.exe doesn't use single quotes for this purpose.

Fix: Use double quotes.

Example: gcloud compute instances list --filter="status=TERMINATED"