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

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
主站蜘蛛池模板: 惠安县| 平江县| 泸定县| 鸡西市| 武宁县| 盐城市| 牡丹江市| 肇源县| 墨玉县| 广安市| 池州市| 尤溪县| 博湖县| 雷州市| 高唐县| 浙江省| 平舆县| 佳木斯市| 麻栗坡县| 信宜市| 广西| 云安县| 北票市| 钟山县| 石河子市| 琼中| 衡阳市| 宜川县| 陵川县| 富裕县| 台湾省| 天长市| 武义县| 东乡县| 宝兴县| 琼海市| 永胜县| 昆明市| 尼木县| 封丘县| 新绛县|