I want to activate a custom feature with PowerShell on a few sites in my environment.

When I´m doing this job over the GUI, everything is perfect.

But when I´, doing it with my script, the feature is activate in the feature list, but nothing happens.

* Why is the GUI and script activation different?
* How can I fix my script?

Thank you in advance!

**My code snippet:**

```
Enable-SPFeature FeatureID -Url https://test-portal.sharepoint.de/ -ErrorAction Stop

```

also not working 

```
Enable-SPFeature -Identity "FeatureName" -Url https://test-portal.sharepoint.de/ -ErrorAction Stop

```