Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a way of letting Powershell control the Thinkvantage Access connections program but I can't find any good starting points/guidelines for how to get started. In the end, I want Access connection to default (use instant resume) to my home network at weekends and to the worknetwork at work days.

So my question is, how do I determine if I can use Powershell to control Thinkvantage Access connections?

share|improve this question
I have no idea what Thinkvantage is, but one of two things would have to happen. Either Thinkvantage would have to expose an API or you would need to use SendKeys. First, let me say that SendKeys in my personal opinion is almost always a bad plan and should always be a last resort. As for an API, these usually come in one of four variations. Command line interfaces, COM interfaces, .Net Exposed methods and properties, or less likely but the most useful in Powershell, a set of Powershell cmdlets written by the vendor to interface with the app. – EBGreen Nov 1 '12 at 13:46
To head off comments, I realize that passing command line parameters is not technically an API, but if the program is written specifically to be controlled that way they essentially are an API. – EBGreen Nov 1 '12 at 13:51
command line interface, this would be an example? See… – FredrikD Nov 1 '12 at 13:54
Yes, that would be an example. Is it sufficient to do what you need? I have no clue. As I said I have never used the product. I was just providing general guidance. That is why I posted it as a comment and not an answer. – EBGreen Nov 1 '12 at 13:57
No, it seems to be an example of deploying profiles – FredrikD Nov 1 '12 at 14:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.