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
Hello Team,
Could you please help me to find out the power shell command for changing netpp volume tiering policy.
Currently it is configured with "auto" and I need to change it to "all" for quite a bit of volumes. It works fine from cli but looking for powershell option to script it. The firmware is 9.7 P12.
Thank you so much.
Kind regards,
Shyju.
Solved! See The Solution
1 ACCEPTED SOLUTION
NwkThd_04 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
This post may help you: https://community.netapp.com/t5/ONTAP-Discussions/change-tiering-minimal-cooling-days-with-powershell-toolkit/m-p/155880
Would it be $volume.VolumeCompAggrAttributes.TieringPolicy ?
Regards,
Pedro
2 REPLIES 2
NwkThd_04 has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
This post may help you: https://community.netapp.com/t5/ONTAP-Discussions/change-tiering-minimal-cooling-days-with-powershell-toolkit/m-p/155880
Would it be $volume.VolumeCompAggrAttributes.TieringPolicy ?
Regards,
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That worked. Thank you so much Pedro.
=========================================
$query = @{
Name = "volume name"
}
$attributes = @{
VolumeCompAggrAttributes = @{
tieringpolicy = "all"
}
}
Update-NcVol -Query $query -Attributes $attributes
================================================
