WindowsBox.VagrantAccount.psm1
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<# .Synopsis Configures Vagrant account .Description This cmdlet configures the Vagrant user account properties #> function Set-VagrantAccount { [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseShouldProcessForStateChangingFunctions", "")] param() wmic useraccount where "name='vagrant'" set PasswordExpires=FALSE } |