cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2951
Views
0
Helpful
2
Replies

CIMC PowerShell Get Power State

helloguys
Level 1
Level 1

I'm trying to get the power state of a UCS C220 M3 server with PowerShell.  Questions:

 

1) What cmdlet I shall use?  Shall I use "Get-ImcChassis"?

2) What parameters I shall use with the cmdlet?

 

Thank you!

 

 

2 Replies 2

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hello @helloguys 

You can use the following:

PowerTool C:\> $handle = Connect-Imc <ip-address> -NotDefault
PowerTool C:\> Get-ImcRackUnit -Imc $handle


AdaptorSecureUpdate :
<snip>
OperPower           : on
</snip>

Stay safe,

Sergiu

Thank you Sergiu!