Skip to content

Latest commit

 

History

History
200 lines (108 loc) · 3.76 KB

File metadata and controls

200 lines (108 loc) · 3.76 KB

PowerShell Scripts

Samer Sultan https://www.sultansolutions.com

@SultanSolutions


Chris Titus The Ultimate Windows Utility - Windows Utility PowerShell Script - Highly Recommended

https://christitus.com/windows-tool/

iwr -useb https://christitus.com/win | iex

   


Windows Decrapifier - Clean + Optimize Windows 10 / 11 PowerShell Script

https://community.spiceworks.com/scripts/show/4378-windows-10-decrapifier-1803-1809

. .\w10.ps1 -clearstart -onedrive -LeaveServices

   


PowerShell to manage Windows Updates - Overview of PSWindowsUpdate module

https://www.techrepublic.com/article/how-to-use-powershell-to-manage-microsoft-updates-on-windows/

Install Module

Install-Module PSWindowsUpdate -Force

List of cmdlets for module

Get-Command -module PSWindowsUpdate 

Download + Install updates on local system, reboot

Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot | Out-File "C:\($env.computername-Get-Date -f yyyy-MM-dd)-MSUpdates.log" -Force

   


Run PowerShell as Local Admin

https://github.com/samersultan/Powershell-as-local-admin

   


Mega Collection of PowerShell Scripts - Good collection of scripts, well organized

https://github.com/fleschutz/PowerShell?web=1&wdLOR=c09D8CA96-EED9-4C4A-AF41-ACDC638FDB8E

   


Awesome Windows Privacy - Debload and privacy scripts for Windows 10 + 11

https://github.com/TemporalAgent7/awesome-windows-privacy

   


Intune Powershell Scripts Collection of powershell scripts for Intune

https://github.com/microsoftgraph/powershell-intune-samples

   


Sophia Script for Windows - The largest PowerShell module on GitHub for Windows 10 & Windows 11 fine-tuning and automating the routine tasks

https://github.com/farag2/Sophia-Script-for-Windows

   


Active Directory Management - Library of PowerShell scripts for managing active directory

https://github.com/AndrewEllis93/PowerShell-Scripts

   


PowerShell Commands for Windows Admins - Useful commands for Windows Administrators

https://www.robvanderwoude.com/ntadmincommands.php

   


WSUS Clean Up Script - Clean up WSUS Updates

https://github.com/samersultan/wsus-cleanup

   


Windows User Profile Cleanup - Delete user profiles older than a specified number of days in Windows

https://gallery.technet.microsoft.com/scriptcenter/How-to-delete-user-d86ffd3c

   


o365 PowerShell Connect -Connect to all o365 service via PowerShell

https://eightwone.com/2015/08/31/connecting-to-office-365exchange/

   


o365 PowerShell Script Library - o365 PowerShell script collection

https://github.com/Scine/Office365

   


All-in-One” PowerShell script - Connect to all Office 365 Services PowerShell (Supports MFA)

https://o365reports.com/2019/10/05/connect-all-office-365-services-powershell/

   


Various standalone scripts - Collection of useful scripts for day to day sys admin tasks

https://github.com/bmrf/standalone_scripts

   


Windows One Liners - One liners useful for Windows admins

https://github.com/bmrf/standalone_scripts/blob/master/Windows%20one-liners.bat

   


Managing Private Channels in Microsoft Teams - Restrict the ability to create private channels in teams

https://blog.admindroid.com/managing-private-channels-in-microsoft-teams/

   


Block Self Service Purchase o365 - Block Self-Service Purchase for Power Platform Products Using PowerShell

https://blog.admindroid.com/block-self-service-purchase-for-power-platform-products-using-powershell/