I want to write a powershell ps1 script, which needs 2 argument sets,(-a -d) and each can have upto n attributes. How to implement that?

```
example : DoTheTask -a <task name 1> <task name 2> ...  -d <machine name 1> <machine name 2>...

```