How mrjcap/snipeitps works
SnipeitPS is a cross-platform PowerShell client for the Snipe-IT REST API. Users connect with server credentials, then invoke commands to query or manage inventory and related administrative resources; results can flow through PowerShell pipelines. The documented feature set also includes bulk asset operations, desired-state synchronization, multi-tenant sessions, cached tab completion, default formatting, and an MCP server. Source excerpts were unavailable, so relationships below rely on README statements; internal call paths and response handling are not asserted.
Main entry points: Public REST Commands · SnipeitSession.ps1 Tenant Sessions · SnipeitCompleters.ps1 Tab Completion · SnipeitCache.ps1 Lookup Cache
Components 12
PowerShell Client
- Connection Setup
SnipeitPS/Public/Connect-SnipeitPS.ps1 - REST Commands
SnipeitPS/Public
Inventory Operations
- Bulk Asset Actions
SnipeitPS/Public - Asset State Sync
SnipeitPS/Public/Sync-SnipeitAsset.ps1
Client Features
- Tenant Sessions
SnipeitPS/Classes/SnipeitSession.ps1 - Tab Completion
SnipeitPS/Classes/SnipeitCompleters.ps1 - Lookup Cache
SnipeitPS/Classes/SnipeitCache.ps1 - Output Formatting
SnipeitPS/SnipeitPS.format.ps1xml
External Interfaces
- Snipe-IT API
- MCP Server
mcp/SnipeitMcpServer.ps1 - AI Client
Other components
- PowerShell User
Connections 12
- PowerShell User → Connection Setup: configures
README.md - PowerShell User → REST Commands: invokes
README.md - REST Commands → Snipe-IT API: REST requests
README.md - REST Commands → Bulk Asset Actions: bulk actions
README.md - REST Commands → Asset State Sync: syncs desired state
README.md - PowerShell User → Tenant Sessions: creates session
README.md - Tenant Sessions → REST Commands: supplies tenant
README.md - REST Commands → Tab Completion: offers completion
README.md - Tab Completion → Lookup Cache: caches lookups
README.md - PowerShell User → Lookup Cache: clears cache
README.md - REST Commands → Output Formatting: formats output
README.md - AI Client → MCP Server: uses stdio
README.md