Hi,
I am executing PowerShell commands using C#, for which i am using "WSManConnectionInfo" class to create connection object for Runspace.
But i could not understand about the parameters to provide. Can anybody explain below two,
1) WSManConnectionInfo(string scheme, string computerName, int port, string appName, string shellUri, PSCredential credential, int openTimeout)
2) WSManConnectionInfo(Uri uri, string shellUri, PSCredential credential)
Ex: 1) WSManConnectionInfo(Uri uri, string shellUri, PSCredential credential)
Uri -> uri for which machine(uri of Exchange server?, if so how can i get it)
shellUri -> ?
credential -> ?
2) WSManConnectionInfo(string scheme, string computerName, int port, string appName, string shellUri, PSCredential credential, int openTimeout)
computerName -> Computername of ExchangeServer? appName -> ?, shellUri -> ?, scheme -> ? port - ? port - ?
Pls help with above parameters.
Thanks