How to Configure Exchange Server 2016 for SMTP Application Relay

In most organizations there are several devices or applications that need to use an SMTP service to send email messages. An Exchange 2016 server can provide that service for you, however the configuration required on the server depends on the SMTP relay requirements of your scenario. The steps for how to configure Exchange Server 2016 SMTP relay are: Determining Internal vs External […]

Read more

Cloning Azure VMs

Cloning an Azure virtual machine is something I thought it was directly integrated (as in, one click/command and that’s it, but no, it involves several steps. However, it is not complicated, and in this post I will explain how to do it! Step 1. Go to Azure portal, navigate to the virtual machine you want to clone. In the Disks section, click on its operating system disk. […]

Read more

Adding DNS Servers in All DHCP Scopes using PowerShell

To Get all Scopes – Open PowerShell – Run as Administrator Get-DhcpServerv4Scope To Check DNS Servers Option 006 Get-DhcpServerv4Scope| Get-DhcpServerv4OptionValue| Where-Object{$_.OptionID -like6} | FT Value To Check – Whatif Get-DhcpServerv4Scope| Set-DhcpServerv4OptionValue-DnsServer172.21.10.20,172.21.10.21,10.10.11.10,10.10.11.11 –Whatif To Apply Get-DhcpServerv4Scope| Set-DhcpServerv4OptionValue-DnsServer172.21.10.20,172.21.10.21,10.10.11.10,10.10.11.11 To Check if its Applied or Not Get-DhcpServerv4Scope| Get-DhcpServerv4OptionValue| Where-Object{$_.OptionID -like6} | FT Value You can see 006 DNS Servers Updated for all scopes

Read more

Connecting Azure Express Route with Multiple Virtual Networks

Unlike a traditional hub and spoke when you have site to site VPN with azure with multiple virtual networks. Azure Express route gives you an additional option to create up-to to 10 connections directly with the express route circuit. Where the virtual network can be from different subscriptions. It makes life much easier when you have multiple business units within […]

Read more

Missing “UserType” attribute in Azure AD

UserType is not always accurate for identifying external or member users If you search an Office 365 user with Get-AzureADUser or Get-MsolUser, you get details about the account type with the attribute UserType. The value can be: Member: the user is part of the Azure AD tenant Guest: the user is a guest, for example to access to Microsoft Teams or SharePoint site According […]

Read more

Send Mail with Attachment, PowerShell, and Microsoft Graph API

API Reference and Permissions The official documentation is here: Send mail – Microsoft Graph v1.0 | Microsoft Docs fileAttachment resource type – Microsoft Graph v1.0 | Microsoft Docs Azure App Registration Rights: Mail.Send The PowerShell Script to send Mail with Attachment using MS GRAPH API That’s the Script on using PowerShell with MS GRAPH API to send a Mail with […]

Read more
1 2 3 4 71