Forum Discussion
AngryCat_52750
Nov 27, 2013Nimbostratus
Powershell Error
We have a automated job to enable and disable a nodes in a pool.. i am using the ps1 from here - LINK Passing the following params - powershell.exe -noexit C:\Temp\icontrol\test.ps1 10.10.10....
Dec 06, 2013
Not sure what would cause that. It couldn't be the sample code - since I wrote it B-)...
I see several odd things.
1. the output goes directly from "Disabling Monitor State..." to the exception. There were some other textual outputs before the set_monitor_state() method is called. Did you just truncate the output?
2. The PowerShell "OS handle" errors seem odd as I haven't seen that before. Are you running this from a 3rd party tool that doesn't allow Write-Host?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects