#powershell
13 articles
News1
Tutorials12

How to Detect and Block Brute Force Attacks on Windows Server with PowerShell
Build automated PowerShell scripts to detect RDP brute force attacks through Windows Event Log analysis and automatically block malicious IPs using Windows Defender Firewall rules.

How to Disable Self-Service Premium Trials in Microsoft Teams
Learn to prevent users from accessing Teams Premium trials through M365 admin center and PowerShell methods. Control organizational subscriptions and maintain billing oversight.

How to Create Desktop Shortcuts Using Microsoft Intune with PowerShell
Deploy desktop shortcuts for applications and web URLs across Windows devices using Microsoft Intune PowerShell scripts. Learn three deployment methods with verification and troubleshooting.

How to Change Default Mailbox Language in Microsoft Outlook and Exchange
Learn to change default mailbox language for single or multiple users in Microsoft Outlook using web interface and PowerShell commands for Exchange Online and on-premises environments.

How to Automate Exchange Log Cleanup with PowerShell and Scheduled Tasks
Create an automated Exchange log cleanup system using PowerShell scripts and Windows Task Scheduler to prevent disk space issues and maintain server performance.

How to Fix 'Unable to Install NuGet Provider for PowerShell' Error
Resolve NuGet provider installation errors in PowerShell by enabling TLS 1.2, updating PowerShellGet modules, and troubleshooting connection issues that prevent module downloads from PowerShell Gallery.

How to Put Exchange Server in Maintenance Mode Using PowerShell
Learn to safely place Exchange Server into maintenance mode using PowerShell commands for draining services, redirecting messages, and handling DAG configurations before performing updates or maintenance tasks.

How to Clean Up Exchange Server Logs Using PowerShell to Free Disk Space
Create and run PowerShell scripts to automatically clean up log files from Exchange 2013, 2016, and 2019 servers, freeing valuable disk space by safely removing old IIS, ETL, and Exchange logs.

How to Migrate Distribution Groups from On-Premises Exchange to Microsoft 365
Learn to migrate distribution groups from on-premises Exchange to Microsoft 365 using PowerShell automation, including export, recreation, membership management, and mail flow verification.

How to Block Soft and Hard Match in Microsoft Entra ID for Enhanced Security
Disable soft and hard matching capabilities in Microsoft Entra ID using PowerShell to prevent unauthorized cloud object takeover and enhance tenant security.

How to Fix 'Running Scripts is Disabled on This System' PowerShell Error
Resolve PowerShell execution policy errors by checking current policies, setting RemoteSigned policy, and implementing security best practices for script execution.

How to Set PowerShell Execution Policy Using Intune and Group Policy
Configure PowerShell execution policies across Windows devices using Microsoft Intune and Group Policy for enterprise security and script management.


