General Discussion

Highlighted

Powershell cmdlets for event generate

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
Highlighted

Re: Powershell cmdlets for event generate

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"

 

 

Check out the KB!
Knowledge Base
All Community Forums