简体   繁体   English

“‘New-ComplianceTag’一词未被识别为 cmdlet、function、脚本文件或可运行程序的名称

[英]'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.

相关问题 术语“az”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称 - The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program 术语“>>”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称 - The term '>>' is not recognized as the name of a cmdlet, function, script file, or operable program 术语“-replace”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称 - The term '-replace' is not recognized as the name of a cmdlet, function, script file, or operable program 无法将术语“ xsd”识别为cmdlet,函数,脚本文件或可运行程序的名称 - The term 'xsd' is not recognized as the name of a cmdlet, function, script file, or operable program 术语“ cpdf”不被视为cmdlet,函数,脚本文件或可运行程序的名称 - The term 'cpdf' is not recognized as the name of a cmdlet, function, script file, or operable program 该术语未被识别为 cmdlet、函数、脚本文件或可运行程序的名称 - the term is not recognized as the name of a cmdlet, function, script file, or operable program 术语“导入”未被识别为 cmdlet、function、脚本文件或可运行程序的名称 - The term 'import' is not recognized as the name of a cmdlet, function, script file, or operable program 未将术语“ New-AzureVirtualNetwork”识别为cmdlet,函数,脚本文件或可运行程序的名称。 - The term 'New-AzureVirtualNetwork' is not recognized as the name of a cmdlet, function, script file, or operable program PowerShell 术语未被识别为 cmdlet 函数脚本文件或可运行程序 - PowerShell The term is not recognized as cmdlet function script file or operable program PowerShell 术语“which”未被识别为 cmdlet function 脚本文件或可运行程序 - PowerShell The term 'which' is not recognized as cmdlet function script file or operable program
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM