-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I have a script which I want to run against ACS. I cannot put it into SCOM as it pops up error of wrong formatting.
ABB ACS Addendum could not be imported.
If any management packs in the Import list are dependent on this management pack, the installation of the dependent management packs will fail.
Verification failed with 1 errors:
Error 1:
Found error in 1|ABB.ACS.Addendum|1.0.0.0|ConsoleTaskGeneratedByUI426b8d934af04d428698e3c92285a7c5/PA|| with message:
The configuration specified for Module PA is not valid.
: Incorrect expression specified: $data = . Unable to resolve this expression. Check the expression for errors. (Hints: Check for correct character casing (upper case/lower case), mismatched "$" signs, double quotes("), square brackets "[" or "]"). Here is a sample expression:
The line it bothers are as follows:
$data = $cert.Thumbprint
It works correctly when run from PS or ISE.