I am developing a script to refresh my custom features. Earlier i was just looping through the features and calling Disable-SPFeature and Enable-SPFeature on each items.
The issue is when the feature is not activated. I would like to check if feature is already activated on the scope and taking appropriate action based on the feature status.
any help, pointers
Sudhir