Hi All,
I'm currently make a wsus script but having issues with two things. Firstly, when trying to add a group to the ApprovedCOmputerTargetGroups with .Add($group) its displaying error overload for add. The $group is equal to "Company1" and return a string.
The last issue is when using the -eq operator having -eq $group causing the script to brake and when I place the value of $group along side -eq "Company1" it's works.
If anyone can give some ideas why these issue are accruing, this will be great.
Thanks,
Paul