株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

MCP受けてきたらコマンドで答えろってさ・・・

# ゴミ箱有効化
PS C:\Users\Administrator> Enable-ADOptionalFeature 'Recycle Bin Feature' -Scope ForestorConfigurationSet -Target chase.local
警告: 'CN=Partitions,CN=Configuration,DC=chase,DC=local' で 'Recycle Bin Feature'を有効にすると、元に戻せません。続行すると、'CN=Partitions,CN=Configuration,DC=chase,DC=local' で 'Recycle Bin Feature'を無効にすることはできなくなります。

確認
この操作を実行しますか?
対象 "Recycle Bin Feature" に対して操作 "Enable" を実行しています。
[Y] はい(Y)  [A] すべて続行(A)  [N] いいえ(N)  [L] すべて無視(L)  [S] 中断(S)  [?] ヘルプ (既定値は "Y"): A

# 有効化確認
PS C:\Users\Administrator> Get-ADOptionalFeature -Filter *


DistinguishedName  : CN=Recycle Bin Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN=Services,CN=Conf
                     iguration,DC=chase,DC=local
EnabledScopes      : {CN=Partitions,CN=Configuration,DC=chase,DC=local, CN=NTDS Settings,CN=APOLLON,CN=Servers,CN=Defau
                     lt-First-Site-Name,CN=Sites,CN=Configuration,DC=chase,DC=local}
FeatureGUID        : 766ddcd8-acd0-445e-f3b9-a7f9b6744f2a
FeatureScope       : {ForestOrConfigurationSet}
IsDisableable      : False
Name               : Recycle Bin Feature
ObjectClass        : msDS-OptionalFeature
ObjectGUID         : ff811218-92e7-4a82-a518-fa5c33455215
RequiredDomainMode :
RequiredForestMode : Windows2008R2Forest

DistinguishedName  : CN=Privileged Access Management Feature,CN=Optional Features,CN=Directory Service,CN=Windows NT,CN
                     =Services,CN=Configuration,DC=chase,DC=local
EnabledScopes      : {}
FeatureGUID        : ec43e873-cce8-4640-b4ab-07ffe4ab5bcd
FeatureScope       : {ForestOrConfigurationSet}
IsDisableable      : False
Name               : Privileged Access Management Feature
ObjectClass        : msDS-OptionalFeature
ObjectGUID         : 25bcb417-621a-481c-ad09-68f5c4db51ee
RequiredDomainMode :
RequiredForestMode : Windows2016Forest

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)