How to Set an Individual Password to Never Expire in Office 365

If you want to set a password to never expire for a single user, you have to do it via PowerShell. There is no way from admin center. Prerequisites Download and install the following modules. Microsoft Online Service Sign-in Assistant for IT Professionals RTW Windows Azure Active Directory Module for Windows PowerShell (64-bit version) Step-By-Step ... Read more

How to Migrate AD Users in a Forest Using ADMT v3.2

When you have multiple domains in a forest, migrating Active Directory objects between two domains is a day to day task of system engineers. Reasons can be that companies are sold or merged or employees are transferred. Type of AD Migration There are two types of AD migrations: Inter forest migration - In inter forest migration, AD objects ... Read more

How to Get a List of Unlicensed Users in Office 365

In this article, I'll show you to get all O365 users which have not been assigned any license. Prerequisites Download and install the following modules. Microsoft Online Service Sign-in Assistant for IT Professionals RTW Windows Azure Active Directory Module for Windows PowerShell (64-bit version) Get a List of Unlicensed Users in Office 365 To get ... Read more

How to Add a New Domain in an Existing Forest in Windows Server 2016 Using PowerShell

In previous article, we added a new domain in an existing forest using server manager. In this guide, I'll focus on adding a new domain using PowerShell. Prerequisites Static IP is configured Administrator account has strong password Firewall is turned off DNS server settings in TCP/IPv4 are correct and they are pointing to a domain ... Read more

How to Configure DHCP Failover in Windows Server 2016 using PowerShell

You can create a DHCP failover with two servers in hot standby mode by using a single Add-DhcpServerv4Failover PowerShell cmdlet. This tutorial assumes you have an active scope on primary DHCP server and a DHCP running on standby or partner server. Configure DHCP Failover in Windows Server 2016 using PowerShell Step 1. Open PowerShell on primary ... Read more

How to Delete Multiple DHCP Scopes Using PowerShell

You can remove multiple scopes from your DHCP server by using this simple script which uses the Remove-DhcpServerv4Scope PowerShell cmdlet. The script assumes you have scope IDs in a series (I have scope IDs of 10.0.0.0, 11.0.0.0 and 12.0.0.0). Delete Multiple DHCP Scopes Using PowerShell Step 1. Open notepad and copy/paste the following script and save the file ... Read more

How to Send an Email from Gmail Account Using PowerShell

You can send an email from your Gmail account using only a single command in PowerShell. There are several ways to achieve that, however, this tutorial uses the Send-MailMessage cmdlet. Send-MailMessage cmdlet has following commonly used paramters: –Attachments string The full path and filenames to be attached with an email. –Bcc string Email addresses that you would like to ... Read more