Using -Unique with CSV file

Question… Do you see any compatibility issues with 7 that had code written in 5.x? The reason why I ask is because at any given point, I have about 10 scripts running on this one box… Thanks.

Powershell 7 does not replace Windows Powershell 5.1. They co-exist next to each other without any problem.

The only inconvenience I can see is when you use Get-WMIObject. That does not exist in version 7. There might be a way around. But because I’m used to use Get-CimInstance instead for a time already it does not matter for me.

BTW: The approach I posted last works on both versions. :wink:

Cool, thanks for all the insight and time you spent on this problem.

YAY!! It worked under 7

risk_level email breach_added_date


low daveg@abc.com 7/25/2020 4:00:44 PM
Very High jim@abc.com 7/25/2020 4:00:44 PM

Thanks again… I want you to march right up to Human Resources and demand a raise…