Closed screaney closed 6 years ago
You can disregard this issue, the culprit is the target machine only has PS 2.0, the one's that work have PS 3.0. I would recommend putting somewhere that you require >= PS 3.0 on the target machine.
Yeah. You are not the only person to be but by this. I really should sort it.
On several of my deployment machines, the Stop Service task will fail with: System.Exception: Method invocation failed because [System.String[]] doesn't contain a method named 'Trim'.
All my deployment environments are Windows Server 2008 R2. Is there something specific that needs to be configured on the target-side to ensure this works? My environments were setup at different times, so they may have some configuration differences.
Log (with redactions for security)