官术网_书友最值得收藏!

Managing accounts

For many different reasons, a user account might become inactive. If a user leaves a company for a certain period of time or resigns, and you think that the user doesn't need access to the account or the resources, the best practice is to disable a user account until you're sure it's safe to delete it. If you want to disable an account, you can use either of the MMC Snap-ins. All you need to do is select the desired user account and disable it by right-clicking and selecting Disable or Disable Account, depending on which MMC Snap-in you used. If you enable a user account, the procedure is same, but the options are different: Enable or Enable Account.

The PowerShell cmdlets that need to be used for this task are Enable-ADAccount and Disable-ADAccount, and the command needs to be as follows:

Disable-ADAccount -Identity vladimir.stefanovic
Enable-ADAccount -Identity vladimir.stefanovic
主站蜘蛛池模板: 乐平市| 凤山县| 仙居县| 崇文区| 阳西县| 密云县| 阿尔山市| 日照市| 获嘉县| 珠海市| 灌阳县| 固始县| 灵宝市| 宁德市| 汉川市| 乌兰浩特市| 安徽省| 永和县| 嘉义县| 资阳市| 聂拉木县| 淄博市| 航空| 吴旗县| 连平县| 无极县| 天峻县| 兴安县| 武城县| 密云县| 中山市| 榆林市| 穆棱市| 甘洛县| 古浪县| 调兵山市| 开平市| 雅江县| 红桥区| 高碑店市| 镇康县|