AD PowerShell Get all Security/ Distribution groups including email assigned

Script for quickly getting any security/distribution list group and if so, they have an email assigned ; #import-module activedirectory $user="Example" $array = Get-ADPrincipalGroupMembership $user | Get-ADGroup -Properties * | select name, description,mail,groupcategory echo "All DL groups and email groups for the user" foreach($i in $array.count){echo $array}

Active directory automated cleaning Script for disabled users

Dear all ; I just got a little script that could be usefull if you plan to used towards an OU It will Strip the memebership groups, Addresslist exchange membership and ensure is disabled. You can schedule this script at the last time of the day , please make sure you change the OU to … Continue reading Active directory automated cleaning Script for disabled users

Creating an automated Task sequence , Windows Deployment services W10 + Integration on AD + Custom settings + bootstrap

We asume: WDS is installed ADK is installed MDT is installed You have a clean image ( follow https://sevenitblog.com/2020/03/22/creating-master-clean-image-for-wds-w10-pro/ ) Right click on task sequence once you selected the deployment share ; Deployment share is located at  E:\Deploymentshare ( in our case ) Ensure you have a WIM available , if not follow the procedure … Continue reading Creating an automated Task sequence , Windows Deployment services W10 + Integration on AD + Custom settings + bootstrap

How to office365 Silent Deployment – Easy

1.Download the O365 Deployment tool https://www.microsoft.com/en-us/download/details.aspx?id=49117 2.Extract the files with the installer & delete the xmls Create a shared folder on the server with Domain users READ on share and on NTFS ! 3.head to https://config.office.com/  to create a new configuration file 4. Customize the deployment desired Note you will need to specify your server … Continue reading How to office365 Silent Deployment – Easy

How to send messages via power shell to all users on AD

If you ever encounter a situation that you need to send A warning message to all users unprecedented this is a good quick trick! ( Import module activedirecory is required for this ) Code: (Get-ADComputer -Filter *).name | ForEach-Object {msg "*" /Server:$_ "**IMPORTANT NOTICE FROM IT *** Following on from the email sent earlier, please … Continue reading How to send messages via power shell to all users on AD

Creating Master Clean Image for WDS W10 PRO

Download the deployment W10 Tool from Windows We assume: WDS is installed ADK is installed MDT is installed You need an ISO in order to create a clean WIM image . On The WDS server the newest ADK Version needs to be installed/ Also download the last ISO as shown How to Convert install.esd to … Continue reading Creating Master Clean Image for WDS W10 PRO

Reconciling DHCP Scopes , search for corruptions

How to check if there is any issues between the Windows DHCP database and the scopes In DHCP manager select the scope / or scopes and choose reconcile Also you can use "Reconcile all scopes " Later on , click on Verify and if there is any error ( not in this case ) it … Continue reading Reconciling DHCP Scopes , search for corruptions