SignOutTeams-1

How to Setup a Password Expiration Notification via Emails

Quick reference, Powershell script is available to download from here. You need to change its file type from .txt to .Ps1 Have you ever had a need to configure notifications for user’s password expirations but found that existing solutions didn’t quite fit the bill? We all know you can use built-in solutions with Windows and Read More

SignOutTeams-1

How to Force Log Off One or All Users from Microsoft 365

In situations involving compromised user accounts simply disabling an account is often not sufficient to mitigate the threat especially if the account is actively being using to send SPAM/Phishing email or to download data. There are three supported ways of revoking an active user’s session in Office 365. The first option is found in the Read More

SignOutTeams-1

How to Generate a Code Signing Certificate and Sign PowerShell .ps1 Script

This guide will show you how to issue a code signing certificate from your internal Certificate Authority, and how to use it to sign your code. Topics covered in this article: Trying to sign code with no certificate available How to get a code signing certificate Requesting a certificate once issued from the Local CA How Read More

SignOutTeams-1

How to Manage Permissions for Recipients in Exchange Server

In Exchange Server, you can use the Exchange admin center (EAC) or the Exchange Management Shell to assign permissions to a mailbox or group so that other users can access the mailbox (the Full Access permission), or send email messages that appear to come from the mailbox or group (the Send As or Send on Read More

SignOutTeams-1

How to Fix “The execution of scripts is disabled on this system” in PowerShell

Symptoms When you try to run a script in Microsoft Azure Active Directory Module for Windows PowerShell, you receive one of the following error messages: File C:\my_script.ps1 cannot be loaded. The execution of scripts is disabled on this system. Please see “Get-Help about_signing” for more details. File C:\Desktop\myscript.ps1 cannot be loaded because running scripts is Read More