Office365 PowerShell 3F7B65B7
Exchange

Get empty DL and delete them

How to get all distributions list on your organization which is empty using Powershell? You have to use the following command: Get-DistributionGroup | Where-Object { (Get-DistributionGroupMember –identity $_.Name).Count –eq 0 } | select PrimarySmtpAddress | export-csv C:\EmptyDL.csv By the […]

Powershell
Powershell

HTML Powershell

Hi, Good evening from Israel, As you already noticed I often share with you some useful tricks on Powershell. Today, I am going to show you how to export any query as an HTML file […]

Auto cleanup WSUS server
Powershell

Auto cleanup WSUS server

Hi All, One of the main issues we as SysAdmin experience with WSUS servers is the disk utilization that utilizes for downloading updates,  in most cases my customers are notified to the disk warning only when […]