Solved

ad recycle bin powershell command?

Posted on 2016-09-29
4
21 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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
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…
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 to another domain controller. Log onto the new domain controller with a user account t…

839 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