Month: August 2021

Golden Ticket Attack – krbtgt

 3,913 total views Love1 Share Tweet Share Pin

 3,913 total views

August 29, 2021 1

AD User Password Expires Alert using PowerShell

I have created a script which helps to checking the password expire status of users in Active Directory. Here few login which we used in the script. Import-Module ActiveDirectory $PasswordAge = (Get-ADDefaultDomainPasswordPolicy).MaxPasswordAge $ExpiryDate=$_.PasswordLastSet + $PasswordAge $DaysLeft=($ExpiryDate-$today).days Please contact us for above requirement.  2,425 total views,  3 views today Love0 Share Tweet Share Pin

 2,425 total views,  3 views today

August 29, 2021 0

Get AD User Created Last 7 Days

Below PowerShell scripts helps you get AD Users which is created last 7 days (N). $Date = (Get-Date).AddDays(-7).Date Get-ADUser -Filter { WhenCreated -ge $Date } ` -Properties WhenCreated,EmailAddress,Country | Select-Object WhenCreated,SamAccountName,GivenName,EmailAddress, Country | Export-Csv C:\CloudApex\Audit-Report.csv -NoTypeInformation   Note: Always recommend to test before using production infrastructure. try your own risk  2,355 total views,  1 views today Love0…
Read more

 2,355 total views,  1 views today

August 29, 2021 0

Get Folder Size using PowerShell

Below PowerShell script helps you to get Folder size in GB’s $excludes = @(“Program Files”,”Windows”,”Program Files (x86)”) $startFolder = “C:\” $colItems = Get-ChildItem $startFolder -Force¬† -erroraction SilentlyContinue | Where {($_.PSIsContainer) -and ($excludes -notcontains $_.Name)} | Sort-Object $b=0 foreach ($i in $colItems) { $subFolderItems = Get-ChildItem $i.FullName -recurse -force -erroraction SilentlyContinue| Where-Object {$_.PSIsContainer -eq $false}¬† |…
Read more

 2,338 total views,  2 views today

August 29, 2021 0

Group Policy Overview

Group Policy that allows you to specify manage configurations for Users and Computers through Group Policy settings and Group Policy Preferences. There are 2 parts to a GPO One part is an object in AD (Called the Group Policy Container, or GPC) Another part is a set of files/folder within SYSVOL, on each DC (Called…
Read more

 2,291 total views,  4 views today

August 29, 2021 0

Active Directory Replication Overview

Active Directory Replication helps to transferring and updating Active Directory objects from one DC to another DC. To understand AD Replication, we are going to discuss the Connection Object, KCC, Subnet, Sites, Site-link, Site-link bridge, Global Catalog & Universal Group membership. Connection Object is an Active Directory object that represents a replication connection from a…
Read more

 2,338 total views,  3 views today

August 29, 2021 0

Event ID 5807 : Connections to this Domain Controller from client machines whose IP addresses don’t map to any of existing sites

Summary When client subnets are missing from active directory Sites and Services that results client to choose a incorrect domain controllers to communicate effectively with Directory Services. During DC localization process, Computer IP address matches against the subnets created in AD which helps to identify the subnet where client belongs to. If the DC cannot…
Read more

 2,531 total views,  2 views today

August 24, 2021 0

How to get Last Logon Time Stamp in Active Directory

How To Get Computer Last Logon Time Stamp Using PowerShell Open Active Directory Snap-in and run the below command with computer name for which you want to fetch the last logon time stamp Get-ADComputer -Identity ComputerName -Properties * |select name, LastLogonDate   Now, let see how to get it for bulk servers. First up all,…
Read more

 1,418 total views,  1 views today

August 22, 2021 0

What is IFM?

 1,605 total views Love0 Share Tweet Share Pin

 1,605 total views

August 22, 2021 0

Transfer FSMO roles in Active Directory

 1,418 total views,  2 views today Love0 Share Tweet Share Pin

 1,418 total views,  2 views today

August 22, 2021 0