2016-09-02 07:57 AM
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,
Solved! SEE THE SOLUTION
2016-09-02 12:13 PM
Use the Set-NaVolAutosize cmdlet to disable the setting.
$volume = New-NaVol ... $volume | Set-NcVolAutosize -Disabled
Hope that helps.