Forum Discussion
baijiaying
Feb 22, 2019Copper Contributor
Get different results in new powershell process and active process
I execute the following code in a new powershell process, get the results "chrome IE" Continue run the same code in the active powershell process get the results with new line "chrome IE" I thin...
VasilMichev
Feb 22, 2019MVP
The Param() statement should only be used within a function definition, not directly. Other than that, check if something isn't modifying the $Browsers variable, and make sure you are always using it in the correct scope.