This script provides a fast, project-wide inventory of your Google Compute Engine virtual machines. It resolves the project from the GCP_PROJECT environment variable, falling back to whatever is set in your active gcloud configuration, and refuses to run if neither is available. It confirms the gcloud CLI is installed, then calls compute instances list. Because the command searches all zones by default, you see every VM regardless of where it lives. The real power is in the --format flag, which builds a custom table. We use the basename() transform to strip the long resource URLs from the zone and machine type fields, leaving short readable values. We also reach into the first network interface to surface both the internal IP and, where present, the external NAT IP, relabelling the columns for clarity. Results are sorted by name for predictable scanning. This read-only command is ideal as the first step in audits, capacity reviews, or cleanup planning.