Highlight the below and paste directly into your command prompt window.
Then you'll find some helpful files in your profile folder with details of your system.
Copy the code below and paste into notepad then File, Save as, Files of Type: All and then name the file "setup-pc.bat". Then run it by double-clicking on the file.
Command prompt and Powershell, living in harmony...
Just copy the below code into Notepad and save it to the desktop (File, Save as, File Name: GimmeTheIP.bat , Save as Type: all files, Save. Then open cmd and cd desktop then type:
GimmeTheIP google.ca <ENTER>
There's your answer!