Wednesday 19 October 2016

Invoke a GUI from Remote Input



Input from remote and Invoke a GUI script

cmd.exe /C "pushd \\remoteserver\FolderName && Filename && popd"

Mirth Channel Creation with Powershell

Mirth Channel Creation from Powershell

Set-Location 'C:\Mirth Connect'
$ChannelOutput=.\mccommand.exe -a https://localhost:38443 -u username -p password -s "C:\commands.txt"

If($ChannelOutput -like '*successfully*')
{
"Channel created successfully and deplyed"
}
else
{
$_.Exception.Message
}

Commands.txt: 
 import "C:\TestServiceChannel1.xml" Force
channel deploy "Channel_name"


Download the script from Repo