• 0

Changing Wifi sources


Question

10 answers to this question

Recommended Posts

  • 0

I know this sounds funny, but I was wondering if there was software that could change from a lan source to wifi at a set time.

You can probably write a powershell script that will run on task scheduler, and the commands would (1) disable the LAN adapter, and (2) enabled the Wifi Adapter.

Link to comment
Share on other sites

  • 0

some quick googleing should do it, I've just started using PS and its not that hard to pick up the basics, just write it in notepad and save as a .ps1 file (think that's the right extension).

Link to comment
Share on other sites

  • 0

some quick googleing should do it, I've just started using PS and its not that hard to pick up the basics, just write it in notepad and save as a .ps1 file (think that's the right extension).

It is.

Link to comment
Share on other sites

  • 0

You running windows 7 or 8 cause that's powershell 2 script, PS3 makes it a bit easier but is only in win 8/svr2012 (again someone correct me if I'm wrong) and from the comments in the post looks like if your on XP it's not going to work at all.

Take a look at http://technet.microsoft.com/en-us/library/jj134956.aspx that's all the cmdlets for the network adapter.

This might also help http://blogs.technet.com/b/heyscriptingguy/archive/2012/09/05/use-powershell-3-0-to-stop-network-adapters-on-windows-8.aspx

looks like you can also use the connection name I.e. Ethernet or Ethernet 2 rather than the name of the device itself TP link wireless adapter or whatever.

Hopefully those will help a bit.

  • Like 1
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.