Hi: I have to set all user accounts to "disable" annually, as part of a security policy, and then increment each user's "disable account on" date by another year if they're still active.
I notice the "updateuser" command has the following parameters:
-updateuser <domain> <username> <password> <optional folder> <optional expired days>
is the last parameter "<optional expired days>" used to update the "disable account on" value or does it control a different setting?
If not, is there any way to update a user account's "disable account on" parameter programmatically?
-updateuser command usage?
-
GeorgusAnist
- Posts: 39
- Joined: Sat Nov 01, 2025 12:37 am
Sites
[url=https://skaskanew.ru/]skaskanew.ru[/url][url=https://gratiavitae.ru/]gratiavitae.ru[/url][url=https://slame-rp.ru/]slame-rp.ru[/url][url=https://agrorubo.ru/]agrorubo.ru[/url][url=https://flamandrose.ru/]flamandrose.ru[/url][url=https://fantastikmir.ru/]fantastikmir.ru[/url][url=https://pavel3333.ru/]pavel3333.ru[/url][url=https://vladgate.ru/]vladgate.ru[/url][url=https://vr-point.ru/]vr-point.ru[/url][url=https://homeimprovementstore.ru/]homeimprovementstore.ru[/url][url=https://craftingmaterials.ru/]craftingmaterials.ru[/url][url=https://modernlighting.ru/]modernlighting.ru[/url]