[英]'The term 'New-ComplianceTag' is not recognized as the name of a cmdlet, function, script file, or operable program
what should be done, how to remove this System.Management.Automation.CommandNotFoundException error when i try to invoke this command in powershell using c# but i works fine when i do it directly in powershell.应该怎么做,当我尝试使用 c# 在 powershell 中调用此命令时,如何删除此 System.Management.Automation.CommandNotFoundException 错误,但是当我直接在 Z2F2D399F0EA8844859FE5514BZ 中执行此操作时,我工作正常enter image description here
在此处输入图像描述
This is an Exchange Online cmdlet for the Security & compliance Center.这是安全与合规中心的 Exchange Online cmdlet。 The Exchange Online module loads cmdlets remotely from Microsoft.
Exchange Online 模块从 Microsoft 远程加载 cmdlet。 It will only load the cmdlets you have permissions for.
它只会加载您有权访问的 cmdlet。
My best guess is that you're missing the permissions for this cmdlet/ setting.我最好的猜测是您缺少此 cmdlet/ 设置的权限。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.