Hi Brandon - SDK is probably the only way to do this. This is the namespace you'll need to be working off of: http://msdn.microsoft.com/en-us/library/hh959294.aspx
From: [email protected] [mailto:[email protected]] On Behalf Of Brandon Ryan Sent: Thursday, September 26, 2013 10:39 PM To: [email protected] Subject: [servman] Creating RunAsAccount with PowerShell without validating credentials I need to script the creation of a new RunAsAccount using PowerShell. The account will be used in creating a SCOM CI connector for a OM instance that is in a different domain. In SCSM you can create the CI connector and enter credentials. When they cannot be validated (because it is a different domain) you get a UI prompt allowing you to continue anyway. That is the behavior I need. In the VMM PowerShell Module, the New-SCRunAsAccount has a -NoValidation parameter. This sounds like it will do what I want. The New-SCRunAsAccount command provided with Service Manager does not have a -NoValidation parameter. How can I make this work? If I have to call the SDK directly, the way I would in C#, that's fine with me. Brandon Ryan Software Engineer | [email protected]<mailto:[email protected]> ClearPointe(r) | 7 Office Park Dr., Suite 200 | Little Rock, AR | www.clearpointe.com<http://www.clearpointe.com/> MANAGED IT SERVICES: Your IT. Our People. 24/7. Guaranteed. Subscribe to our newsletter: http://www.clearpointe.com/newsletter This Internet message may contain information that is privileged, confidential, and exempt from disclosure. It is intended for use only by the person to whom it is addressed. If you have received this in error, please (1) do not forward or use this information in any way; and (2) contact me immediately. Neither this information block, the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.
