I am relatively new to tags but I got them working. Tagging datastores and iterating through them. I think our VM team will be tagging a few resources that they DON'T want used so I will have to write PowerCLI code to look for resources (datastores for example) that aren't tagged, versus looking for resources that are tagged. I can't figure out how to do this.
If I do "get-datastore -tag $null" I get ALL datastores, even tagged ones, so that doesn't work. Hopefully this is easy I just overlooked something. Help would be appreciated.