Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there any ontap powershell cmdlet that allows you to run native commands on the filer.
For example: <powershell command> "node run <nodename> sysstat" (For c-mode) ? OR
<powershell command> "reallocate status" (For c-mode)
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey David,
You can use Invoke-NcSsh cmdlet for running native cli commands via powershell. and example below.
C:\PS>Invoke-NcSsh system health status show
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you run sysstat (I would assume the same would apply to any command with similar functionality) without setting it to run for a specific number of cycles there is no way to send a break so it would just hang. I would be awesome to be able to run a full perfstat using this, it seems that the ssh client works way better than any other I have yet seen and would give the data collection a little boost in efficiency.
