Intune Initial Scripts Backup

This commit is contained in:
2025-04-21 14:21:38 -04:00
commit 71764cd10f
241 changed files with 28218 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
$WSUSGroup = Read-Host "Enter Target Group Name"
$servers = Import-Csv E:\WSUS_Scripts\Patching-Day\$Group_Folder\$WSUSGroup-Target-Group-Computers-$Current_Month.csv | select -ExpandProperty FullDomainName
$servers | % { Get-HotFix -ComputerName $_ | ? { $_.InstalledOn} | sort installedon -Descending | select -First 1 }