08-18-2025 09:14 AM
I am trying to use Powershell to pull the server profile source temple moid from the Intersight API.
Using the Get-IntersightServerProfile command I can see the SrcTemplate moid, but I cannot find a way to pull that information to a spreadsheet.
Here is what I get when I run Get-IntersightServerProfile.
I can see the ScrTemplate moid. I have tried the following, but I get no results.
$sourceTemplateMoid = $profile.SrcTemplate.Moid
Please help me find a way to get this information. Let me know if it can be done with Powershell, Python or another way.
Thanks
Solved! Go to Solution.
08-19-2025 09:54 AM
08-19-2025 09:54 AM
Try with $profile.SrcTemplate.ActualInstance.Moid
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide