Skip to main content
Jorge Bernhardt Jorge Bernhardt

Import-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.
How to configure IIS logging using PowerShell
·856 words·5 mins· 100 views · 5 likes
Get-ChildItem Get-ItemProperty Get-PSProvider Import-Module
Log files are great places to look when troubleshooting or analyzing your website traffic. Every time your IIS receives a client’s request, it records that request in a log file. In this post, I want to show you how to use PowerShell to configure and manage IIS log files, such as changing the logging frequency or setting the folder where IIS will store log files or, if you prefer, how to turn off logging.
How to install IIS on Windows Server with SSL using PowerShell
·703 words·4 mins· 100 views · 5 likes
Get-ChildItem Get-PSProvider Get-WebBinding Import-Module
Today I want to show you how to install Internet Information Server (IIS) on my favorite operating system, Windows Server using PowerShell. IIS is a great feature that allows us to provide our server with an extensible web server.