I'm trying to get all enabled plugins on a server using GetServer().getPluginManager().getPlugins(). I understand this works for some. However, I get the following error message:
At line:1 char:11
An expression was expected after '('.
+ CategoryInfo : ParserError: (:) , ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ExpectedExpression
What am I'm doing wrong?
Thanks in advance.