Hotfix ID
Budget: $10 – $30 USD
How do I have the following PowerShell export to a csv file
$HotfixID = "KB4507453"
$ComputerList = Get-Content "C:\Users\Desktop\machines.txt"
ForEach ($Computer in $ComputerList)
{
Get-HotFix -ComputerName $Computer |where {$_.HotFixID -Match $HotfixID}|select @{n="Computer";e={$Computer}},HotFixID,InstalledOn
}
$HotfixID = "KB4507453"
$ComputerList = Get-Content "C:\Users\Desktop\machines.txt"
ForEach ($Computer in $ComputerList)
{
Get-HotFix -ComputerName $Computer |where {$_.HotFixID -Match $HotfixID}|select @{n="Computer";e={$Computer}},HotFixID,InstalledOn
}
Related categories:
Powershell