- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure why insist on doing the ConvertFrom-Csv for each property separately.
Yeah That's my mistake. I am not clear on how to write the kb results when they are more then one and if no updates are available on the computer. Can you pls correct the above code or rewrite if they are more then one kb or no updates are available. something as below
VM : VM01
State: Success
Error:
KB: KB4565628
Installstatus: KBInstalled
VM : VM01
State: Success
Error:
KB: KB4565511
Installstatus: KBInstalled
VM : VM02
State: Success
Error:
KB:
Installstatus: There are no applicable updates for this computer.
VM : VM03
State: Success
Error:
KB: KB4567511
Installstatus: Kb Failed to install
Regards
Vineeth.K