1
vote
1answer
501 views

How to create a PowerShell script that accepts one or more SPWebApplication and use it in an expression?

I'm trying to create a custom function that can uninstall and reinstall any SharePoint solution. Some solutions requires the -GACDeployment switch, some requires the -AllWebApplications and some ...