Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Problems running a PS Script that works on PS 2.0 Windows 7 32 bit computer but not on PS4.0

$
0
0

I have a Powershell script to do UDP download, upload and a ping to an iPerf server that tests a carriers system.  It works perfectly on a 32 bit Windows 7 system running PowerShell 2.0 but I recently upgraded one of my 64 bit Windows 7 computers to run PowerShell 4.0.  Now the script looks like it is working but some of the functions don't work and it only outputs the ping csv file in the end.  Previously it gave me csv files showing the UDP DL & UL output files along with the ping.  It also doesn't do a function to set what the port value is for the hotspot device I'm using to connect to the network.  It looks like when it goes to do the telnet function to a iPerf server it doesn't execute the function like it does running the 2.0 version.  I had thought that PS 4.0 would be backwards compatible with a 2.0 script.  What do I need to do to fix the script to run on PS 4.0?


Viewing all articles
Browse latest Browse all 6937

Trending Articles