| | | | | | | |

While there is no simple way of addressing ransomware entirely, there are number of measures that all organisations can take to help spot and mitigate the risk and spread of such an attack. LepideAuditor offers probably the easiest, fastest (and most cost effective) means of spotting and reacting to potential ransomware attacks on your Windows…

Create Exchange 2016 DAG using PowerShell
| | | | |

Create Exchange 2016 DAG using PowerShell

Create Exchange 2016 DAG using PowerShell   What is a Database Availability Group  (DAG) ? A database availability group (DAG) is a set of up to 16 Microsoft Exchange Server 2016 Mailbox servers that provide automatic database-level recovery from a database, server, or network failure. When a Mailbox server is added to a DAG, it works…

Adding Subnets Active Directory Sites and Services :PowerShell
| | | | |

Adding Subnets Active Directory Sites and Services :PowerShell

This guide will show you how to add additional Subnets into Active Directory Sites and Services using GUI as well as Powershell. Let’s start by adding the following Subnet into Sites and Services using GUI. Subnet : 192.168.56.0/24 and 192.168.57.0/24 Launch Active Directory Site and Services and Navigate to Subnets. Right click on “Subnets” and…

Search for Disabled Users and Move to Disabled Ou using PowerShell
| | | | | |

Search for Disabled Users and Move to Disabled Ou using PowerShell

Search for Disabled Users and Move to Disabled Ou using PowerShell Created this script to search a ‘OU’ for disabled users and move them to a different ou . I have added the ‘WhatIf’ option by default . Once you run the script it will prompt for ‘Search OU’ and ‘Target OU’ . #Created to ease…

Using Active Directory to meet Regulatory Compliances
| | | |

Using Active Directory to meet Regulatory Compliances

Using Active Directory to meet Regulatory Compliances   When it comes to meeting compliance, many Administrators settle for simply auditing event logs. By default, Event Viewer records all events that are generated on a Windows Server. However, is simply storing logs an efficient way to meet compliance? Most compliance mandates require a particular report to…

Get and Connect a Disconnected Mailbox Using PowerShell
| | | |

Get and Connect a Disconnected Mailbox Using PowerShell

Get and Connect a Disconnected Mailbox Using PowerShell   To quickly find all disconnected Mailboxes in your Exchange environment launch EMC and run the following one liner. Get-MailboxStatistics -Server ThaLazyExMBX01| where { $_.DisconnectDate -ne $null } | select DisplayName,MailboxGuid,Database,DisconnectDate The Results will look as follow: Now that we have the results lets refine the search…

Prepare Active Directory and Domains for Exchange 2016
| | | |

Prepare Active Directory and Domains for Exchange 2016

Prepare Active Directory and domains for Exchange 2016 The first step in getting your organization ready for Exchange 2016 is to extend the Active Directory schema. Exchange stores a lot of information in Active Directory but before it can do that, it needs to add and update classes, attributes, and other items. If you’re curious…

Exchange 2010 Mail User still Associated with a Move Request
| | | | | |

Exchange 2010 Mail User still Associated with a Move Request

Exchange 2010 Mail User still Associated with a Move Request Mail User Object in Exchange still showing as if it is listed to a Move Request To verify if we have any Move requests currently in progress or completed we can start by Opening the Exchange Shell. Once the EMS is open type the following…

Deploy Active Directory Domain Using PowerShell
| | | |

Deploy Active Directory Domain Using PowerShell

Deploy Active Directory  Domain using PowerShell Let’s start by Setting the PowerShell Execution Policy to Unrestricted Set-ExecutionPolicy Unrestricted Next we will rename the server and install Prereq features. #rename the computer $newname = “LAB-DC-01” Rename-Computer -NewName $newname -force< #install features $featureLogPath = “c:\softlib\Shell\poshlog\featurelog.txt” New-Item $featureLogPath -ItemType file -Force $addsTools = “RSAT-AD-Tools” Add-WindowsFeature $addsTools Get-WindowsFeature |…

End of support for DirSync and Azure AD Sync . Time to upgrade to Azure AD Connect!
| | |

End of support for DirSync and Azure AD Sync . Time to upgrade to Azure AD Connect!

On April 13 of last year, Microsoft announced the deprecation of “Windows Azure Active Directory Sync (DirSync)” and “Azure Active Directory Sync (Azure AD Sync)” and that it was time to start planning to upgrade to Azure AD Connect. They have also announced that end of Support for DirSync & AzureAD Sync will be on…

Rename Server using #Powershell
| | |

Rename Server using #Powershell

Rename Windows Server Name using #PowerShell Being in the #LazyAdminMode lets rename our server using #PowerShell Lets start by opening  #PowerShell  and type Rename-Computer NewComputerName and that is it 🙂 quick and easy #LoveIt Next lets restart the Server using #PowerShell  to apply the new name by typing Restart-Computer   To get more information regarding…

Some Group Policy areas are missing from the Group Policy Editor
| |

Some Group Policy areas are missing from the Group Policy Editor

SUMMARY When you open the Group Policy Editor MMC snap-in tool, focused either on a local GPO or AD-based one, some Group Policy areas that are expected to appear may not be found. SYMPTOMS Some policy areas are missing when you open up the Group Policy editor. These missing policy areas are different than the…