For some reason, the File System - Clean Directory step template is erroring out on one of our tentacles:
WARNING: Some imported command names include unapproved verbs which might make
Info 14:38:40
them less discoverable. Use the Verbose parameter for more detail or type
Info 14:38:40
Get-Verb to see the list of approved verbs.
Info 14:38:40
Cleaning files from installation directory
Info 14:38:40
Include: LCF*..config;web..config
Info 14:38:40
Ignore:
Info 14:38:40
Paths To Clean: C:\Octopus\Applications\Internal\RasterImage3.Host\2.0.1.0
Info 14:38:40
Scanning directory C:\Octopus\Applications\Internal\RasterImage3.Host\2.0.1.0
Error 14:38:40
ForEach-Object : A parameter cannot be found that matches parameter name ‘File’
In an effort to track this down, I would like to run this script locally in the ISE from that box.
I see this in the code:
Running outside octopus
param(
[string]$cleanInclude,
[string]$cleanIgnore,
[string]$pathsToClean,
[switch]$whatIf
)
How do you manually invoke this script from outside octopus in the ISE?