腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(497)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
Visual Code和PowerShell 5.1不加载SharePoint 2013
PsSnapin
从4升级到PowerShell 5.1后,尝试添加SharePoint
PsSnapin
时出现以下错误:Add-
PsSnapin
At line:1 char:1+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument:
浏览 0
提问于2019-08-20
得票数 0
1
回答
PowerShell中的导入模块和添加
PSSnapin
如何编写代码来检查Add-
PSSnapin
,如果它不存在,则检查Import-Module,如果它也不存在,则退出脚本。我已经写了下面的代码,但我在使用它时遇到了内存溢出问题。Get-Module -Name VMware.VimAutomation.Core)) Import-Module VMware.VimAutomation.Core{ Add-
PSSnapin
VMware.VimAutomat
浏览 2
提问于2017-10-15
得票数 0
1
回答
Add- Windows7中的
PsSnapin
WebAdministration
PS C:\Program Files\IIS> get-
pssnapin
PSVersion :WebAdministration$succeeded为空,并且"add-
pssnapin
WebAdministration“生成错误消息: Add-
PSSnapin
:此计算机上未安装machinePS C:\Program Files\IIS> Add-
PSSnapin
WebAdmini
浏览 5
修改于2017-05-23
得票数 13
回答已采纳
1
回答
Add-
PSSnapin
Microsoft.WindowsAzure.ServiceRuntime错误
我正在尝试运行的练习,但在尝试运行Add-
PSSnapin
Microsoft.WindowsAzure.ServiceRuntime时在任务2中遇到错误:+ Add-
PSSnapin
<<<< Microsoft.WindowsAzure.ServiceRuntime + CategoryInfo: InvalidArgument: (Microsoft.WindowsAzure.ServiceRuntime:Stri
浏览 0
修改于2012-05-03
得票数 1
1
回答
无法加载Add-
PSSnapin
。发生类型不匹配
Add-
PSSnapin
: Could not load type 'Microsoft.SharePoint.Administration.SPActionLinkType' char:13+ Add-
PsSnapin
<<<< Microsoft.SharePoint.PowerShell +
浏览 0
提问于2016-02-10
得票数 1
1
回答
将导入模块与PowerShell
PSSnapin
Dll一起使用
我们有一个传统的PowerShell
PsSnapin
(c#)。我想避免不得不使用InstallUtil。以下代码导入导出了
PSSnapin
cmdlet的模块: import-module .( installutil dll和所有引用的程序集都在相同的构建目录中,当我使用
PsSnapin
时,所有依赖项都被正确解析)
浏览 5
提问于2016-01-08
得票数 0
1
回答
Powershell: IIS、Microsoft.Web.Administration、导入模块WebAdministration、
PSSnapin
WebAdministration
,使用Import-Module与Add-
PSSnapin
if ([System.Version] (Get-ItemProperty -path "HKLM:\Software\| Where {$_.Name -eq "WebAdministration";})) { }-Registered | ForEach-Object {$_.Name}) -contains $ModuleName)
浏览 6
修改于2017-05-23
得票数 1
2
回答
使用BAT文件检查
PSSnapin
是否已注册
我知道我可以在powershell中运行这样的程序 $prov = get-
pssnapin
-registered | where-object{$_.Name -eq "Sqlserverprovidersnapin100
浏览 1
提问于2014-08-05
得票数 0
回答已采纳
1
回答
使用Cloudberry
PSSnapIn
时不显示SVG文件
当我使用带有Cloudberry
PSSnapIn
和-CheckFileConsistency设置的PowerShell传输相同的文件夹时。文件夹将上载,但不会渲染SVG文件。
浏览 3
提问于2018-01-17
得票数 0
2
回答
服务器2012r2:无法添加-
pssnapin
windows.serverbackup
我已经安装了Windows服务器备份功能,但是当尝试执行我搞错了add-
pssnapin
: The Windows PowerShell snap-in 'windows.serverbackup' is not installedAt line:1 char:1 + add-
pssnapin
wind
浏览 0
修改于2014-05-06
得票数 2
回答已采纳
1
回答
此计算机上未安装
PSSnapin
Microsoft.Sharepoint.Powershell
尝试在SharePoint Online命令行管理程序中运行命令Add-
PSSnapin
Microsoft.SharePoint.Powershell时 我得到以下错误: Add-
PSSnapin
installed on this computer + CategoryInfo: InvalidArgument: (Microsoft.SharePoint.Powershell:string) [Add-
PSSnapin
浏览 31
修改于2019-05-15
得票数 0
回答已采纳
1
回答
PowerShell Add-来自高级(cmdlet)函数的
PSSnapIn
Add-
PsSnapIn
SnapInName end {}如果我从任何点(例如,powershell
浏览 0
修改于2013-04-03
得票数 2
回答已采纳
1
回答
无法将-
pssnapin
microsoft.exchange.management.powershell.admin添加到powershell studio脚本。
powershell提示符显示已注册的管理:Name : Microsoft.Exchange.Management.PowerShell.Admin在我的_load方法中,我但是当我运行脚本时得到这个: ERROR: Add-
PSSnapin
浏览 16
提问于2014-03-14
得票数 0
回答已采纳
5
回答
如何在调用Add-
PSSnapin
之前检查是否已加载PowerShell管理单元
现在,每个脚本都在一开始调用Add-
PSSnapin
XYZ。无法添加PowerShell管理单元XYZ,因为它已添加警报。如何让每个脚本在调用Add-
PSSnapin
之前检查管理单元是否已加载?
浏览 46
提问于2009-09-25
得票数 90
回答已采纳
1
回答
从C#运行PowerShell脚本时,Add-
PSSnapin
的路径不正确
Add-
PSSnapin
命令将始终失败,并显示以下消息: Exception: The Windows PowerShell snap-in 'Microsoft.SharePoint.Powershell运行时 $snapin = Get-
PSSnapin
| Where-Object {$_.Name -eq "Microsoft.SharePoint.Powershell"}{ Write-Host "Loading SharePoint Powershell
浏览 24
提问于2019-04-02
得票数 0
回答已采纳
1
回答
无法为
PSSnapin
添加Microsoft.TeamFoundation.PowerShell获取与无法转换对象相关的错误
同时使用以下命令为Microsoft.TeamFoundation.PowerShell添加Microsoft.TeamFoundation.PowerShellName
浏览 0
修改于2018-10-24
得票数 1
2
回答
在自定义
pssnapin
上运行install util时找不到安装程序
我创建了一个非常简单的
PSSnapin
,但是当我对程序集运行IntallUtil时,我得到了以下结果: 在C:\Tools\PowerShellCommands\SetServerDataSource\
浏览 5
提问于2011-10-04
得票数 1
回答已采纳
2
回答
如何在不安装管理单元的情况下将PSCmdlet或
PSSnapin
添加到宿主Powershell运行时
由于应用程序以有限的权限运行,因此无法安装
PsSnapin
。<code>H 210</code><code>f 211</code> 我是否可以在不经历安装过程的情况下使用命令?
浏览 0
提问于2011-10-17
得票数 2
回答已采纳
1
回答
正在尝试在自定义Powershell
PSSnapin
的Win64位上编译VS2008项目
库项目可以在Win7 64 -bit上运行的任何VS2008上编译良好。PS C:\Windows\Microsoft.NET\Framework64\v2.0.50727> .\installutil C:\path\Project.dllSystem.BadImageFormatException:未能加载文件或程序集的file:///C:\path\Project.dll‘或其依赖项之一。试图加载格式不正确的程序。我的库确实有依赖
浏览 5
修改于2011-04-04
得票数 0
1
回答
Add Microsoft.Crm.PowerShell未安装错误
但是遇到了下面的错误,我理解了,但不确定如何将
PSSnapin
放到我的系统上。PS C:\Program Files\Dynamics SDK\SDK\Bin> Add-
PSSnapin
Microsoft.Crm.PowerShell + Add-
PSSnapin
Microsoft.Crm.PowerShell + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo
浏览 8
提问于2017-11-15
得票数 1
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券