Skip to main content
Jorge Bernhardt Jorge Bernhardt

Install-Module

2022

How to manage outbound spam policies with Exchange Online PowerShell
·773 words·4 mins· 100 views · 5 likes
Connect-ExchangeOnline Disable-HostedOutboundSpamFilterRule format-table Get-HostedOutboundSpamFilterPolicy
Exchange Online Protection (EOP) uses outbound spam policies as part of your organization’s defense against spam. But to increase the effectiveness of outbound spam filtering, you can create custom spam policies with more stringent settings that apply to specific users or groups.
How to change the owner of an Azure Active Directory device
·505 words·3 mins· 100 views · 5 likes
Add-AzureADDeviceRegisteredOwner Connect-AzureAD Get-AzureADDevice Get-AzureADDeviceRegisteredOwner
In Azure AD, you can see that each device has an owner. The owner is the user who joined the device to Azure AD, which is sometimes the administrator account. If you want to change the owner, you won’t be able to do so through the Azure portal.
How to configure RDP properties for a Host Pool - Display settings
·2070 words·10 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
The series of posts on configuring RDP properties for a host pool is ending. In this latest post, I’ll show you how to configure display settings for your Azure virtual desktop environment using PowerShell and the Azure CLI.
How to configure RDP properties for a Host Pool - Device redirection
·2112 words·10 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
Hi, Jorge is back. As I mentioned in my previous post, I will show you the second part of configuring device redirections for your Azure Virtual Desktop environment using PowerShell and Azure CLI.
How to configure RDP properties for a Host Pool - AV redirection
·1239 words·6 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
Today I want to show you how to configure Device redirections for your Azure Virtual Desktop environment using PowerShell and Azure CLI. Given that several properties and different configurations are possible, I divided the information into 2 articles.
How to configure RDP properties for a Host Pool - Session behaviour
·1135 words·6 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
In my previous article, I showed you how to configure the connection information tab of the RDP properties for the host pool. Today, I will show you how to configure the session behavior tab of the RDP properties using PowerShell and Azure CLI.
How to configure RDP properties for a Host Pool - Connection Information
·855 words·5 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Virtual Desktop Connect-AzAccount
Hi everyone, I showed you how to create an Azure Virtual Desktop host pool in my previous article. This article shows how to configure the connection information tab of the RDP properties for the host pool using PowerShell and Azure CLI.
How to Create and Manage DLP policies using PowerShell
·651 words·4 mins· 100 views · 5 likes
Connect-IPPSSession Data loss prevention Data loss prevention (DLP) Format-List
Using data loss prevention (DLP) policies allows us to automatically identify, monitor, and protect sensitive information in Microsoft 365. This post will show you how to create and manage data loss prevention (DLP) policies using PowerShell.
How to change the priority of DLP policies
·368 words·2 mins· 100 views · 5 likes
Connect-IPPSSession Data loss prevention Data loss prevention (DLP) Get-DlpCompliancePolicy
Data loss prevention (DLP) policies are processed in a specific order. This process is called policy precedence. The policy with the lowest priority number is processed first. The first rule is configured as a priority “0” by default, the next one as “1”, and so on.
How to Create and Manage Shared Mailboxes
·1162 words·6 mins· 100 views · 5 likes
Add-MailboxPermission Add-RecipientPermission Connect-ExchangeOnline Exchange Online
Happy New Year everyone, life is short - let’s dream big and make the most of 2022! In the year’s first article, I want to show you how to create shared mailboxes in Microsoft Exchange Online and perform the most common administrative tasks using Powershell.

2021

How to convert an Azure AD B2B user from guest to member
·453 words·3 mins· 100 views · 5 likes
Azure AD Connect-MsolService Get-MsolUser Import-Module
By default, when an Azure AD B2B collaboration user is added to a tenant, the UserType property of the user is set to “Guest.” However, it may be the case that the host organization wants to treat the invited user as a member rather than a guest.
How to create teams and channels in Microsoft Teams using PowerShell
·681 words·4 mins· 100 views · 5 likes
Add-TeamUser Connect-MicrosoftTeams Get-Team Get-TeamUser
Hello everyone, this is the first of many articles I hope to post about managing Microsoft 365 using PowerShell. In this first article, I want to show you how to perform basic administration tasks in Microsoft Teams using PowerShell.
How to set the Password Expiration Policy in Microsoft 365
·375 words·2 mins· 100 views · 5 likes
Azure AD Connect-MsolService Get-MsolPasswordPolicy Import-Module
If you have not yet implemented any identity protection mechanisms, such as multi-factor authentication (MFA), or to satisfy your company’s security regulations, you should establish a password expiration policy. In that case, this article will interest you.

2019

How to enable Azure Resource Graph in PowerShell and Azure CLI
·324 words·2 mins· 100 views · 5 likes
Azure CLI Azure PowerShell Azure Resource Graph Get-InstalledModule
The general availability of the Azure Resource Graph service was announced a few days ago. This service allows you to use queries to explore all your resources in Azure and manage your inventory in the Microsoft cloud more efficiently.
How to Install Docker on Windows Server
·316 words·2 mins· 100 views · 5 likes
Docker docker info docker run docker version
In this post, I want to show you how to install Docker on Windows Server 2016/2019. The process to install Docker in Windows Server is easy with the help of the PowerShell module of the OneGet provider.
How to Install the Secure DevOps Kit for Azure
·513 words·3 mins· 100 views · 5 likes
AzSK Azure PowerShell Connect-AzAccount Get-AzSKAzureServicesSecurityStatus
This quick blog post shows how to install the Secure DevOps Kit for Azure (AzSK). The Secure DevOps for Azure kit offers tools and best practices for creating and maintaining a secure architecture in the Microsoft cloud.

2018

How to install the new Azure PowerShell "Az" Module
·206 words·1 min· 100 views · 5 likes
AZ Azure PowerShell Get-InstalledModule Install-Module
This quick blog post shows how to install the Azure Powershell Az module that replaces the AzureRM module. Before starting the module’s installation, it is important to know that Az and AzureRM modules cannot be imported in the same session or used in the same script.
How to install the Azure PowerShell Module from PowerShell Gallery
·152 words·1 min· 100 views · 5 likes
Get-InstalledModule Install-Module Microsoft Microsoft Azure
The Azure portal is a good place to start and learn the existing resources in Microsoft Azure, but if you want to work with them, the Azure PowerShell module is the way.