| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Tooling for documenting Cisco UCS Manager domains:
| Tool | What it produces | Use it for |
|---|---|---|
| AsBuiltReport.Cisco.UcsManager | A formatted Word / HTML As-Built document (config of FIs, chassis, blades, LAN/SAN, pools, policies, service profiles, firmware, licensing) | Hand-off docs, audits, change records, archiving |
The community "UCS Health Check" HTML dashboard script that earlier versions of this toolkit bundled is no longer included: its upstream reuse terms could not be established, so it is not redistributed here.
The module depends on Cisco UCS PowerTool (Cisco.UCSManager), which is built on .NET Framework 4.5. It does not load on macOS/Linux PowerShell (which runs on .NET Core) — the Cisco.Ucs.Common.Cmdlets assembly fails to load there. Run everything on Windows: Windows PowerShell 5.1 (built in) or PowerShell 7 on Windows.
Requirements:
Windows PowerShell 5.1 ships with Windows and works for everything here. To also get PowerShell 7 (recommended):
# Option A: winget (Windows 10/11)
winget install --id Microsoft.PowerShell --accept-package-agreements --accept-source-agreements
# Option B: Microsoft's install script (any Windows)
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Quiet"Check your version:
$PSVersionTable.PSVersionRun in an Administrator PowerShell window.
Windows PowerShell 5.1 note: if -AcceptLicense errors with "parameter cannot be found," update the package manager first, then open a new window:
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12 Install-Module PowerShellGet -Force -AllowClobber -Scope CurrentUserPowerShell 7 does not need this.
Install the framework and UCS PowerTool from the PowerShell Gallery:
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module AsBuiltReport.Core -Scope CurrentUser -AllowClobber -Force
Install-Module Cisco.UCSManager -Scope CurrentUser -AllowClobber -AcceptLicense -ForceInstall the As-Built module from this repo (it is not on the Gallery). From the cisco/ folder:
# PowerShell 7 module path (use \WindowsPowerShell\ for PS 5.1)
Copy-Item -Recurse -Force .\AsBuiltReport.Cisco.UcsManager "$HOME\Documents\PowerShell\Modules\"
Import-Module AsBuiltReport.Cisco.UcsManager -Force
(Get-Module AsBuiltReport.Cisco.UcsManager).Version # confirm it loadedVerify everything is present:
Get-Module -ListAvailable AsBuiltReport.*, Cisco.UCSManager | Select-Object Name, Version$cred = Get-Credential # read-only UCSM account
New-Item -ItemType Directory C:\AsBuiltReports -Force
New-AsBuiltReport -Report Cisco.UcsManager `
-Target <FI-CLUSTER-VIP> `
-Credential $cred `
-Format Word,Html `
-OutputFolderPath C:\AsBuiltReports `
-Verbose| Symptom | Cause / Fix |
|---|---|
| Could not load ... Cisco.Ucs.Common.Cmdlets | You're on macOS/Linux PowerShell. Run on Windows. |
| "Error connecting to UCS Domain" | Cert or reachability. Cert handling is baked in now; confirm the host can reach the VIP on 443. |
| Duplicate sections in the As-Built | You're running an old module version. Check (Get-Module AsBuiltReport.Cisco.UcsManager).Version — should be 0.3.3+. |
| -AcceptLicense not recognized (PS 5.1) | Update PowerShellGet and open a new window (see step 2 note). |
| OutputFolderPath is not a valid folder path | Create the output folder first with New-Item -ItemType Directory. |
The vendored As-Built module retains its upstream MIT license — see AsBuiltReport.Cisco.UcsManager/LICENSE.
Consolidated from previous local automation repositories during the 2026 LabOps repository cleanup. This repository starts with a fresh history; earlier history is retained locally only.
Repository content authored for this toolkit is licensed under the MIT License (see LICENSE). Third-party components retain their own license notices: the included AsBuiltReport.Cisco.UcsManager module keeps its upstream MIT license and attribution in AsBuiltReport.Cisco.UcsManager/LICENSE; no ownership of third-party code is claimed.
| Back | FazBrowse Home | New Git URL |