Export list of all Active Directory Security Groups with their Members

Learn how to easily export Active Directory Security Groups with their members to a CSV file in Windows PowerShell. Here is a Script: $Groups = Get-ADGroup -Properties * -Filter * -SearchBase “OU=Groups,DC=corp,DC=ourcompany,DC=Com” Foreach($G In $Groups) { Write-Host $G.Name Write-Host “————-” $G.Members } Here is another Script: $Groups = Get-ADGroup -Properties * -Filter {GroupCategory -eq “Security”} -SearchBase “OU=Groups,DC=domain,DC=com” … Read more

How to Detect SharePoint Permission Changes

In this blog will see how to detect permission changes in SharePoint. To achieve this follow the below simple steps. First you have to go to Site Settings → Site Collection Administration → Site collection features → then choose “Reporting” → and press “Activate”. After doing this again go to Site Settings → Site Collection … Read more

How to View SharePoint Online Audit Log Reports

In this blog will see how to view SharePoint online audit log reports to better manage and secure office 365 SharePoint online. Before you can access the reports, you have to enable the audit log in SharePoint online. To enable Audit Log Reporting Follow the steps mention in this article – How to Enable SharePoint … Read more

How to Configure SharePoint Online Auditing

Introducing SharePoint Online Auditing SharePoint Online auditing features enable admins to track user activity on an organizational level. Through which Office 365 administrators, or the compliance admin, search through the logs and apply filters to identify exactly what they are looking for. Follow the below steps to enable SharePoint online auditing. Step 1: Open Office … Read more

Infographic – EU GDPR The Essentials at A Glance

What is GDPR? EU working on this long since 4 years, on 25 May 2018, the General Data Protection Regulation (GDPR) is live with the focal aim to protect the private and sensitive data of EU citizens – Practical Steps for GDPR Preparation Who does GDPR apply to and who should be concerned? Companies that control … Read more

Powershell Script to Get List of Active Users with the Details like samaccountname, name, department, job tittle, email in Active Directory

  In this blog will see how to list active users with details like samaccountname, name, department, job tittle, email, etc., in Active Directory using powershell script.    A dsquery solution: dsquery * -Filter “(&(objectCategory=person)(objectClass=user))” -Attr givenName sn displayName sAMAccountName mail proxyAddresses distinguishedName > AllUsers.txt   A PowerShell solution using the AD module cmdlet: Get-ADUser … Read more

Powershell Script to Get “lastLogon Timestamp” for Specific OU and Export to CSV File

Learn how to get lastlogon timestamp for specific OU and export to CSV by using Powershell script. A PowerShell solution using the AD module cmdlet: Get-ADUser -Filter * -SearchBase “ou=users,dc=contoso,dc=local” -ResultPageSize 0 -Prop CN,lastLogonTimestamp | Select CN,lastLogonTimestamp | Export-CSV -NoType last.csv If you want get a date: Get-ADUser -Filter * -SearchBase “ou=users,dc=contoso,dc=local” -ResultPageSize 0 -Prop … Read more