General Discussion

Powershell cmdlets for event generate

Abhishar

Hi,

 

I need help, need to run the below command in powershell.

 

event generate -node segotx01-01 -message-name tcpip.duplicate.ip -values 0.0.0.0 0.0.0.0

 

Please help

1 REPLY 1

donny_lang

I was not able to find a PowerShell cmdlet in the Toolkit that satisfies your requirement, but you could run the native command using the "Invoke-NcSsh" cmdlet, like this: 

 

Invoke-NcSsh -Command "set d; y; event generate -node segotx01-01 -message-name tcpip.duplicate.ip -values 0.0.0.0 0.0.0.0"

 

 

Announcements
Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public