VMware Cloud Community
virtualmojo
Contributor
Contributor

Truncate log with PowerCLI?

Is it possible to truncate or delete a log using PowerCLI?  I have run into an issue where the /tmp mount has filled up due to a HPE software bug described in the KB below.  However, I am unable to start the SSH or ESXi Shell services from vCenter or from the console.  Therefore, I am unable to run the truncate command.  I am also unable to vMotion any VMs from the host.  Any suggestions?  Thank you

Edit:

Correct Link:

https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-a00073323en_us&docLocale=en_US

Reply
0 Kudos
2 Replies
virtualmojo
Contributor
Contributor

Nevermind, I have managed to *finally* get the management agents restarted and was able to get the ESXi shell service started.

Thank you

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

Moderator: Moved to PowerCLI


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos