通过BizTalk powershell提供程序脚本重新启动远程BizTalk服务器组主机实例不起作用 [英] Restart remote BizTalk server group host instances through BizTalk powershell provider script is not working

查看:64
本文介绍了通过BizTalk powershell提供程序脚本重新启动远程BizTalk服务器组主机实例不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用下面的代码来获取主机实例并重新启动它在power shell命令提示符上的工作但不能正常工作

I have used below code to get host instances and restart its working on power shell command prompt but not working

通过 脚本,它获取本地服务器主机实例不是远程biztalk服务器组

through  script ,it getting local server host instances not remote biztalk server group

Enter-pssession -computername 16 -configurationname microsoft.powershell32



Remove-PSSnapin -Name BizTalkfactory.PowerShell.Extensions;
$


Add-PSSnapin -Name BizTalkfactory.PowerShell.Extensions;



set-location Biztalk:



设置位置'平台设置';



set-location'主机实例'



写主机"从16台机器获取所有主机实例"
$


Get-ChildItem

Enter-pssession -computername 16 -configurationname microsoft.powershell32

Remove-PSSnapin -Name BizTalkfactory.PowerShell.Extensions;

Add-PSSnapin -Name BizTalkfactory.PowerShell.Extensions;

set-location Biztalk:

set-location 'Platform Settings';

set-location 'Host Instances'

write-host "Getting all host instances from 16 machine"

Get-ChildItem

推荐答案

您可以尝试以下方法(普通PS,与BizTalk提供商无关):

Can you try the following (normal PS, nothing to do with the BizTalk provider):

请先验证,该计算机16没有任何其他服务,而不是以"BTS"开头的主机实例。前缀: - )

Please verify first, that computer 16 don't have any other Services than your Host Instances starting with the "BTS" prefix :-)

Morten la Cour

Morten la Cour


这篇关于通过BizTalk powershell提供程序脚本重新启动远程BizTalk服务器组主机实例不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆