Software Development Kit (SDK) and API Discussions

Checking /etc/messages periodically using PSTK script

netappwala

Hi,

 

Please give me an Idea that how can I automate checking /etc/messages file periodically using PSTK script?

 

are there any special cmdlets available for this taks?

 

 

Thanks,

Sri Charan M

1 REPLY 1

asulliva

Hi Sri Charan,

 

You can use the "Read-NaFile" cmdlet to do this.

 

Read-NaFile /vol/vol0/etc/messages

Hope that helps.

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Announcements
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