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

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
主站蜘蛛池模板: 历史| 民勤县| 庆阳市| 永善县| 闻喜县| 靖西县| 张家界市| 武隆县| 灵宝市| 育儿| 安福县| 天气| 镇原县| 三亚市| 乃东县| 兴安盟| 广州市| 平南县| 蕲春县| 图木舒克市| 广安市| 辽阳县| 射洪县| 七台河市| 西平县| 吴旗县| 牙克石市| 江都市| 海门市| 获嘉县| 宿州市| 建阳市| 南陵县| 漯河市| 寿光市| 南通市| 遵化市| 西吉县| 清新县| 平顶山市| 乌拉特后旗|