Solved

ad recycle bin powershell command?

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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 …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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…

920 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

16 Experts available now in Live!

Get 1:1 Help Now