【问题标题】:powershell invoke command with msgpowershell invoke command with msg
【发布时间】:2022-12-02 11:31:50
【问题描述】:

I try to send message to all users in the server via agent server with invoke command and I get error 1008

Error sending message to session Console : Error 1008 

【问题讨论】:

  • what is the relation with Azure DevOps in this question?

标签: powershell azure-devops


【解决方案1】:

Firstly, we suggest that you could run your powershell script locally for success before your deploy it on Azure DevOps.

And have you checked if there is a user console in your sending targets beside usual users?

You could read all the logged in users first, and then write them into a array, after that send the message to each user with a foreach-loop.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-10-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多