smsclictr.automation library
Assembly: smsclictr.automation(in smsclictr.automation.dll) Version: 1.1.3731.16627 (1.1.2.4)
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
Parameters
- ccmpath
- Type:
System
.
.
::
.
String
Path to the ccmsetup.exe (\\SMSServer\SMSClient\i386\ccmsetup.exe)
- sParams
- Type:
System
.
.
::
.
String
CCMSetup Parameters (like: SMSSITECODE=AUTO)
- IntegratedAuthentication
- Type:
System
.
.
::
.
Boolean
Use Integrated Authentication(True), otherwise connect the IPC$ Share of the remote Host to authenticate
Examples
C#:
PowerShell:
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", True); } } }
(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", "True")
Exceptions
Exception | Condition |
---|---|
System . . :: . Exception | Installation Failure |