Repository with the scripts that I have used in my blogs on https://powershellisfun.com. If you like these, please sponsor this project using the Sponsor button below or buy me a coffee :) https://www.buymeacoffee.com/powershellisfun https://powershellisfun.com
  • PowerShell 99.8%
  • Batchfile 0.2%
Find a file
2026-05-11 20:38:23 +02:00
.github Update issue templates 2024-10-01 22:41:48 +02:00
365 Health Status Added Filter for better performance 2024-02-01 18:19:19 +01:00
Active Directory Admin Group Change Report Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Adding Mobile Phone Authentication Method For Azure AD MFA Fix module count if installed on PS5 and PS7 2024-06-28 23:33:44 +02:00
Adding Printer Drivers and Printers with Intune Bug fix Black and White printing default setting 2023-09-20 11:32:25 +02:00
Adding printer drivers with Endpoint Manager Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Adding Printers With Endpoint Manager Bug fix Black and White printing default setting 2023-09-20 11:34:54 +02:00
ASRmageddon Create Common Shortcuts Start Menu Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Change Primary and Secondary DNS Initial 2023-06-13 15:48:22 +02:00
Check for non-Microsoft Signed Windows Services Changed Get-Wmiobject plus bugfix emtpy services 2023-10-25 16:20:16 +02:00
Check for PowerShell modules updates Fix variable reference for current module versions 2025-12-04 11:03:35 +01:00
Check if URL is safe Switched to system.net.webrequest for compatibility 2025-08-03 18:52:37 +02:00
Compact Hyper-V VHDX files Changed vhdx seach method 2023-11-29 11:09:06 +01:00
Copy Exchange Full Access and Send As permissions Fixed typo 2023-11-15 16:05:12 +01:00
Copy Exchange Receive Connector Settings Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Create a development Windows Sandbox Added -Latest parameter to fix installation issue using Repar-WinGetPackageManager 2025-04-04 22:06:31 +02:00
Create a Focus Time countdown clock Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Create A Hyper-V Running Evaluation Versions Of Windows Server Added Windows Server 2025 2026-01-28 14:43:13 +01:00
Create a multiple-choice quiz using Powershell Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Create a report of a DTS NPS logfile Initial 2024-03-28 17:26:43 +01:00
Create a Report on DNS lookups Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Create A Report On PST Files Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Create a Scheduled Tasks inventory running local and domain accounts Bugfix, formatting -> Thanks Brent Newland! 2024-09-09 21:18:26 +02:00
Create a Tweet on Twitter using PowerShell Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Create TCP or UDP listener Updated to ParameterSet params 2023-08-21 09:43:08 +02:00
Deploy and automatically update WinGet apps in Intune Added -Source WinGet to Uninstall command for better uninstallations 2025-12-21 12:56:03 +01:00
Deploy Hyper-V VM with Autopilot registration Formatting, changed backticks to Splatting 2026-05-11 20:38:23 +02:00
Disable Idle Power Save Changed to use the RegistryValue to avoid OS Language issues (Thanks Dave Heimberg!) 2024-03-22 17:00:04 +01:00
Download Windows Themes from Microsoft Added -UseBasicParsing to Invoke-Webrequest to avoid issues in PowerShell v5.1 (KB5074596) 2025-12-21 14:31:41 +01:00
Export Registry Typo 2025-11-12 13:21:49 +01:00
Exporting Passwords For WLAN Profiles Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Get Active Directory Infra Information Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Get End-Of-Life information Initial 2025-03-07 13:55:06 +01:00
Get IP MAC Vendor information Added full path to nmap.exe 2025-07-17 14:14:57 +02:00
Get Microsoft Evaluation Center Download Links Update Download_Microsoft_Eval_Software.ps1 2025-07-22 16:24:24 +02:00
Get Microsoft Graph Permissions Initial 2024-09-19 20:59:26 +02:00
Get WHOIS Information Added -UseBasicParsing to Invoke-Webrequest to avoid issues in PowerShell v5.1 (KB5074596) 2025-12-21 14:31:41 +01:00
Import Receive Connector IP-Addresses into IIS SMTP Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Install Apps Using WinGet And PowerShell Added -UseBasicParsing to Invoke-Webrequest to avoid issues in PowerShell v5.1 (KB5074596) 2025-12-21 14:31:41 +01:00
Install or update SysInternals Suite Added -UseBasicParsing to Invoke-Webrequest to avoid issues in PowerShell v5.1 (KB5074596) 2025-12-21 14:31:41 +01:00
Intune Remediation for unquoted service path vulnerability Changed to only detect services with spaces in path name, also it checks all services now 2024-04-11 11:25:12 +02:00
Intune Timezone Changed Europe/Kiev to Europe/Kyiv 2024-11-12 20:15:18 +01:00
Keep Microsoft Teams status on Available Moved $wshell = New-Object -ComObject wscript.shell to top of script for performance 2026-04-13 20:32:12 +02:00
Launching Start Menu Shortcuts Added ErrorAction SilentlyContinue to avoid errors from inaccessible paths 2025-03-28 10:38:47 -07:00
Message Of The Day Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Microsoft 365 License Overview Per User Reworked lookup tables 2026-03-08 22:40:39 +01:00
Open links from the cmd.ms website Fixed issue where if specified -Command parameter could not find anything... It would open all links :( 2024-12-17 14:11:50 +01:00
Output data to a MarkDown file Initial 2023-02-01 23:53:42 +01:00
PiHole Blocked Queries Updated time-stamp for minutes, was incorrectly displayed 2025-05-25 20:02:20 +02:00
PowerShell Welcome Message Added Swap and system load (By Kelly) 2023-12-17 18:53:43 +01:00
Query WinGet software installer data Added -UseBasicParsing to Invoke-Webrequest to avoid issues in PowerShell v5.1 (KB5074596) 2025-12-21 14:31:41 +01:00
Random 9GAG Item In Your Browser Added -UseBasicParsing to Invoke-Webrequest to avoid issues in PowerShell v5.1 (KB5074596) 2025-12-21 14:31:41 +01:00
Read RSS Feeds Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Remote Visual Studio Code in Windows Sandbox Added -UseBasicParsing to Invoke-Webrequest to avoid issues in PowerShell v5.1 (KB5074596) 2025-12-21 14:31:41 +01:00
Report from which PowerShell module the cmdlets are from Changed to Get-Verb for default verbs list and $customverbs for custom ones 2024-06-19 00:28:33 +02:00
Report on Exchange SMTP logfiles Added reverse-dns lookup for local/remote endpoint 2023-02-14 11:44:49 +01:00
Report on Named Locations Initial 2025-11-14 11:38:46 +01:00
Report on Non-Compliant Intune devices Fix module count if installed on PS5 and PS7 2024-06-28 23:33:44 +02:00
Retrieve Active Directory Container permissions Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Retrieve Active Directory OU permissions Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Retrieve All Cmdlets From The New Microsoft Graph API Modules Formatting 2024-04-01 13:21:16 +02:00
Retrieve all Microsoft IP - FQDN - Ports for their services Added -UseBasicParsing to Invoke-Webrequest to avoid issues in PowerShell v5.1 (KB5074596) 2025-12-21 14:31:41 +01:00
Retrieve cmdlets and functions info Initial 2023-07-19 20:09:03 +02:00
Retrieve CoinMarketCap information Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Retrieve Email DNS Records Updated to the DnsClient-PS module making it Windows, macOS and Linux compatible 2026-01-12 22:50:45 +01:00
Retrieve Expiring Certificates Initial 2025-01-10 21:06:37 +01:00
Retrieve Intune Primary User Fix module count if installed on PS5 and PS7 2024-06-28 23:33:44 +02:00
Retrieve local and remote PowerShell logs Added timestamp to Excel tabs 2023-08-24 09:49:41 +02:00
Retrieve local group members from Active Directory servers Fixed bug when entering multiple groups 2023-04-12 01:14:23 +02:00
Retrieve Security Events From Active Directory Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Scan for deprecated Cmdlets Initial 2026-04-03 19:20:18 +02:00
Search Windows Event log Added ExcludeLog parameter 2023-08-07 13:53:53 +02:00
Set Correct External Hyper-V Adapter Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Set Windows Terminal Background Image Initial 2023-06-06 23:52:05 +02:00
Show Intune Management Extension Logs Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Start Windows Sandbox With Parameters Bugfix for MemoryInMb and formatting 2024-08-05 15:29:43 +02:00
Test Microsoft Services TCP ports Added -UseBasicParsing to Invoke-Webrequest to avoid issues in PowerShell v5.1 (KB5074596) 2025-12-21 14:31:41 +01:00
Text-To-Speech Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Update all PowerShell Modules Fixed -Exclude Parameter bug in overview, removed progress when installing or updating 2026-05-06 11:59:11 +02:00
Update your software using WinGet and PowerShell Removed readme.txt and moved to one readme.md 2023-01-25 16:51:32 +01:00
Validate list of Email Addresses Added caching of checked domains and removed progress of DNS checking for performance 2025-01-13 12:12:17 +01:00
Wi-Fi 24H2 Remediation Updated Detection to exit 1 if only one check fails 2026-01-29 14:39:33 +01:00
Windows Autopilot Report Added -ErrorAction SilentlyContinue if autopilotdevice was not found 2024-09-12 18:32:26 +02:00
Windows Update all Hyper-V VMs Changed to SecureString password, added shutdown running VMs at end of script 2025-02-11 23:40:34 +01:00
.gitignore Added .gitignore 2026-01-15 10:02:00 +01:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2024-10-01 22:36:26 +02:00
Contact.md Added Contact information 2025-11-21 14:01:24 +01:00
CONTRIBUTING.md Create CONTRIBUTING.md 2024-10-01 22:38:00 +02:00
LICENSE Create LICENSE 2024-10-01 22:38:52 +02:00
README.md Added Scan for deprecated Cmdlets 2026-04-03 19:22:26 +02:00
SECURITY.md Create SECURITY.md 2024-10-01 22:41:10 +02:00

Powershellisfun

Repository with the scripts that I have used in my blogs on PowerShellisfun.com

Directory and links to the corresponding blog post with more information about the script(s)

365 Health Status

Active Directory Admin Group Change Report

Adding Mobile Phone Authentication Method For Azure AD MFA

Adding Printer Drivers and Printers with Intune

Adding printer drivers with Endpoint Manager

Adding Printers With Endpoint Manager

ASRmageddon Create Common Shortcuts Start Menu

Change Primary and Secondary DNS

Check if URL is safe

Check for PowerShell modules updates

Check for non-Microsoft signed Windows Services

Compact Hyper-V VHDX files

Copy Exchange Full Access and Send As permissions

Copy Exchange Receive Connector Settings

Create a development Windows Sandbox

Create a Focus Time countdown clock

Create A Hyper-V Running Evaluation Versions Of Windows Server

Create a multiple-choice quiz using Powershell

Create a report of a DTS NPS logfile

Create a Report on DNS lookups

Create A Report On PST Files

Create a Scheduled Tasks inventory running local and domain accounts

Create a Tweet on Twitter using PowerShell

Create TCP or UDP listener

Deploy and automatically update WinGet apps in Intune

Deploy Hyper-V VM with Autopilot registration

Download Windows Themes from Microsoft

Disable Idle Power Save

Export Registry

Exporting Passwords For WLAN Profiles

Get Active Directory Infra Information

Get End-Of-Life Information

Get IP MAC Vendor information

Get Microsoft Evaluation Center Download Links

Get Microsoft Graph Permissions

Get WHOIS Information

Import Receive Connector IP-Addresses into IIS SMTP

Install Apps Using WinGet And PowerShell

Install or update SysInternals Suite

Intune Remediation for unquoted service path vulnerability

Intune Timezone

Keep Microsoft Teams status on Available

Launching Start Menu Shortcuts

Message Of The Day

Microsoft 365 License Overview Per User

Open links from the cmd.ms website

Output data to a MarkDown file

Pihole Blocked Queries

PowerShell Welcome Message

Query WinGet software installer data

Random 9GAG Item In Your Browser

Read RSS Feeds

Remote Visual Studio Code in Windows Sandbox

Report on Exchange SMTP logfiles

Retrieve Active Directory Container permissions

Retrieve Active Directory OU permissions

Retrieve All Cmdlets From The New Microsoft Graph API Modules

Retrieve all Microsoft IP - FQDN - Ports for their services

Retrieve cmdlets and functions info

Retrieve CoinMarketCap information

Retrieve Email DNS Records

Retrieve Expiring Certificates

Retrieve Intune Primary User

Retrieve local and remote PowerShell logs

Retrieve local group members from Active Directory servers

Retrieve Security Events From Active Directory

Report from which PowerShell modules the cmdlets are from

Report on Non-Compliant Intune Devices

Scan for deprecated Cmdlets

Search Windows Event log

Set Correct External Hyper-V Adapter

Set Windows Terminal Background Image

Show Intune Management Extension Logs

Start Windows Sandbox With Parameters

Test Microsoft Services TCP ports

Text-To-Speech

Update all PowerShell Modules

Update your software using WinGet and PowerShell

Validate list of Email Addresses

Wi-Fi 24H2 Remediation

Windows Autopilot Report

Windows Update all Hyper-V VMs