Identify failed logon desktop or device

Enable verbose user account logging in order to determine where failed authentication attempts are originating from. Log into primary domain controller. Enable verbose netlogon logs using command nltest /dbflag:0x2080ffff This …

Windows Server 2012 – Get Folder Size Statistics

Here is a PowerShell function helpful in populating statistics of sub-folder sizes. Create a PS1 file named Get-FolderSize.ps1 with the following contents: Function Get-FolderSize {  BEGIN{$fso = New-Object -comobject Scripting.FileSystemObject}  PROCESS …

PowerShell AD Manager Report

We can generate a list of users and their corresponding managers entered against AD user objects by using Powershell. echo user1, user2, user3 | get-aduser -Properties manager | Select-Object -Property …