I'd like to use powershell as a replacement for Intersystems's Console/Terminal. Is there a way to connect to cache with powershell and issue cache commands against the server?

有帮助吗?

解决方案

The cache terminal is just a telnet session, so you could use telnet from powershell.

You could also do your own Read Evaluate Print Loop by connecting to Cache by any means for the Evaluate step. Though your method of connection might make it difficult for break statements to work or for write statements (or anything else that uses a device) to work correctly.

You could also open terminal in another process and use DDE to drive the terminal from power shell, but that's starting to get silly.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top