You have a trailing comma in your SET clause, right before WHERE (after Sockets = $($InputObject.Sockets) ).
↧
You have a trailing comma in your SET clause, right before WHERE (after Sockets = $($InputObject.Sockets) ).