Solved

ad recycle bin powershell command?

Posted on 2016-09-29
4
16 Views
Last Modified: 2016-10-22
is there a AD powershell command to determine whether the AD recycle bin in enabled for a domain?
0
Comment
Question by:pma111
  • 3
4 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points (awarded by participants)
ID: 41821272
Run the following command,  Check the value for EnabledScopes, if it contains values, then it is enabled.
Get-ADOptionalFeature -Filter 'name -like "Recycle Bin Feature"'

Open in new window

0
 
LVL 3

Author Comment

by:pma111
ID: 41826294
EnabledScopes just says {} presume that means not enabled?
0
 
LVL 40

Assisted Solution

by:Subsun
Subsun earned 500 total points (awarded by participants)
ID: 41826609
0
 
LVL 40

Expert Comment

by:Subsun
ID: 41855064
The details in comment should explain the query, If @pma111 doesn't have any further query then question can be closed.
0

Join & Write a Comment

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now