cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
865
Views
0
Helpful
1
Replies

Need help pulling Server Profile Source Template moid from Intersight

Tapper
Level 1
Level 1

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.

Tapper_0-1755533273838.png

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

1 Accepted Solution

Accepted Solutions

Brian Morrissey
Cisco Employee
Cisco Employee

Try with $profile.SrcTemplate.ActualInstance.Moid

BrianMorrissey_0-1755622395582.png

 

View solution in original post

1 Reply 1

Brian Morrissey
Cisco Employee
Cisco Employee

Try with $profile.SrcTemplate.ActualInstance.Moid

BrianMorrissey_0-1755622395582.png

 

Review Cisco Networking for a $25 gift card