Microsoft Virtualization Discussions
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,
See The Solution
Use the Set-NaVolAutosize cmdlet to disable the setting.
$volume = New-NaVol ...
$volume | Set-NcVolAutosize -Disabled
Hope that helps.
View solution in original post
Exactly what I was looking for. If I would've spent a little more time, I may have found that cmdlet.
Live Chat, Watch Parties, and More!
Engage digitally throughout the sales process, from product discovery to conﬁguration, and handle all your post-purchase needs.