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
I am new to scripting and I am trying to figure out how to generate a report of LUN snapshots. Any suggestions? Thank you.
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would look something like this:
Import-Module DataOnTap
$password = ConvertTo-SecureString "MySuperSecretPassword" -AsPlainText –Force
$cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "root",$password
get-nalun | export-csv C:\LunReport.csv
Of course if you have multiple filers it will get a little more complicated.
1 REPLY 1
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would look something like this:
Import-Module DataOnTap
$password = ConvertTo-SecureString "MySuperSecretPassword" -AsPlainText –Force
$cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "root",$password
get-nalun | export-csv C:\LunReport.csv
Of course if you have multiple filers it will get a little more complicated.
