Skip to content
Development
Command

/find-vm

Find a VM by name across Nutanix clusters and show its configuration

From plugin
msp-claude-plugins
52200 skills146 agents200 commands4 MCP
$ npx -y skills add wyre-ai/msp-claude-plugins --agent claude-code

Command definition

find-vm.md
description: Find a VM by name across Nutanix clusters and show its configuration
argument-hint: "<vm_name>"
arguments: [vm_name]

Find VM

Locate a virtual machine by name across all clusters managed by the connected Prism Central, and present its configuration and state.

Prerequisites

  • Nutanix connected in the Conduit gateway with valid Prism Central credentials
  • The `vmm` namespace available (check with `listOperations` if unsure)

Steps

1. **Discover the list-VMs operation**

Call `listOperations` with `namespace="vmm"` and `search="list vms"`. Confirm parameters with `getOperationSchema` if this is the first vmm call of the session.

2. **Search by name**

Call `vmm_execute` with the list operation and `_filter="name eq '<vm_name>'"`. If nothing returns, retry with a broader OData `contains`/`startswith` predicate and present the candidates.

3. **Disambiguate**

VM names are not unique across clusters. If multiple rows match, list them with cluster association and ask which one is meant.

4. **Fetch full detail**

Call `vmm_execute` with the get-VM-by-id operation and the chosen `extId`. Optionally pull disk and NIC sub-resource lists for a complete picture.

5. **Report**

Present name, `extId`, cluster, power state, vCPU/memory, disks (count and sizes), NICs (subnet attachments), and categories.

Parameters

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | vm_name | string | Yes | Exact or partial VM name to search for |

Examples

/find-vm --vm_name "web-prod-01"

Error Handling

  • **No match:** Broaden the filter; confirm the right Prism Central is connected
  • **`vmm_execute` tool absent:** The vmm namespace is not exposed by this PC — report it rather than retrying
  • **404 on extId:** The VM was deleted between list and get; re-run the search

Related Commands

  • `/vm-inventory` - Full VM estate listing
  • `/cluster-health` - Health of the cluster a VM runs on
Read more
@wyre-technology
Ships withmsp-claude-plugins

One command to supercharge Claude Code for MSP workflows. Then restart Claude Code. That's it. Documentation: mcp.wyre.ai

52200 skills146 agents4 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
52
Star history of wyre-technology/msp-claude-plugins on GitHub, a chart by star-history.com

Other commands on msp-claude-plugins.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command