Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
All,
Is there a way when creating a new volume via PowerShell using the cmdlet New-NaVol to turn off the default "Autogrow" setting?
The defaut has this setting turned on and I'd like to be able to turn off this attribute within the script when creating new volumes. I don't see it listed in the parameters.
Thanks for any help,
joe
Solved! See The Solution
View By:
2 REPLIES 2
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello @JAL,
Use the Set-NaVolAutosize cmdlet to disable the setting.
$volume = New-NaVol ... $volume | Set-NcVolAutosize -Disabled
Hope that helps.
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Andrew,
Exactly what I was looking for. If I would've spent a little more time, I may have found that cmdlet.
Thanks!
joe