Solved

ad recycle bin powershell command?

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
A procedure for exporting installed hotfix details of remote computers using powershell
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 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