Intune Initial Scripts Backup
This commit is contained in:
8
dump/WSUS_Scripts/Check-Hotfix.ps1
Normal file
8
dump/WSUS_Scripts/Check-Hotfix.ps1
Normal 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 }
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user