AutoBot
AutoBot copied to clipboard
Awesome little automater
Updated AutoBotHost and PowerShellRunner so that using write-host in scripts results in the text being sent to HipChat there and then, rather than waiting for the script to finish running....
So, this is probably going to look like a block of changes and red, but I'll give a quick synopsis for you to figure out if it's worth pulling or...
Using write-host inside a script results in an exception as follows: System.Management.Automation.Host.HostException: Cannot invoke this function because the current host does not implement it. at System.Management.Automation.Internal.Host.InternalHostRawUserInterface.ThrowNotInteractive() at System.Management.Automation.Internal.Host.InternalHostRawUserInterface.get_ForegroundColor() at Microsoft.PowerShell.Commands.ConsoleColorCmdlet.get_ForegroundColor()...
It'd be nice if AutoBot could handle return System.Object[] return values from PowerShell scripts. This should allow him to deal with pipline output. E.g. function MultiValueReturn() { "value1"; 100; new-object...
At present a pretty slack PowerShell execution policy is assumed, think and implement improvements around. - Use of .NET RunSpace defaults - Service account defaults, e.g. Read only, no Write...
Log4Net would be my preference http://logging.apache.org/log4net/ - ColouredConsoleAppender - EventLogAppender