我正在使用上述命令來獲取當前登錄用戶的列表。 它運作良好,當我運行含有此命令的PowerShell腳本,但是當我運行從任務調度程序在同一個腳本,它提供了以下錯誤: "The term 'quser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spe
我可以創建一個新的任務是這樣的: Friend Sub CreateTaskF(ct_NameTask As String, ct_DescriptionTask As String, ct_Hour As Integer, ct_Minut As Integer, ct_date As String, ct_arg As String)
Dim ts As TaskService