smsclictr.automation library
Start the CCMSetup Service on the remote System

Namespace:  smsclictr.automation
Assembly:  smsclictr.automation(in smsclictr.automation.dll) Version: 1.1.3731.16627 (1.1.2.4)

Syntax

C#
public 
void 
SMSSetup(
	
string 
ccmpath,
	
string 
sParams
)

Parameters

ccmpath
Type: System . . :: . String
Path to the ccmsetup.exe (\\SMSServer\SMSClient\i386\ccmsetup.exe)
sParams
Type: System . . :: . String
CCMSetup Parameters (like: SMSSITECODE=AUTO)

Examples

C#:
CopyC#
using System;
using
System.Collections.Generic;
using System.Text;
using smsclictr.automation;

namespace
ConsoleApplication1
{

class Program
		{
		
static 
void Main(
string[] args)
				{
					 SMSClient oClient = 
new SMSClient(
"localhost");
					 CCMSetup oCCMSetup = 
new CCMSetup(oClient);
					 oCCMSetup.SMSSetup(

@"\\servername\smsclient\i386\ccmsetup.exe", 
"SMSSITECODE=AUTO");
			}
		 }
}
PowerShell:

(copy smsclictr.automation.dll to the %HOMEDRIVE%\%HOMEPATH% Folder of the current User)

CopyC#
[

void][System.Reflection.Assembly]::LoadFile(

"$HOME\smsclictr.automation.dll")
$SMSClient = New-Object -TypeName smsclictr.automation.SMSClient(
"localhost")
$CCMSetup = New-Object -TypeName
smsclictr.automation.CCMSetup($SMSClient)
$CCMSetup.SMSSetup(

"\\servername\smsclient\i386\ccmsetup.exe", 
"SMSSITECODE=AUTO")

Exceptions

Exception Condition
System . . :: . Exception Installation Failure

See Also