Articles → AUTOMATION ANYWHERE → Get IP Address Of Machine In Automation Anywhere
Get IP Address Of Machine In Automation Anywhere
Steps
- Open command prompt.
- Write ‘ipconfig’ command.
- Copy the data of command prompt window in clipboard variable
- Extract the text between ‘IPv4 Address. . . . . . . . . . . :’ and ‘Subnet Mask . . . . . . . . . . . :’ using before-after string operation. Store the extracted text in clipboard.
- Display the clipboard variable using message box.
Open Command Prompt
Click to Enlarge
Write ‘Ipconfig’ Command
Click to Enlarge
Copy The Data Of Command Prompt Window In Clipboard Variable
Click to Enlarge
Extract The Text Between ‘Ipv4 Address. . . . . . . . . . . :’ And ‘Subnet Mask . . . . . . . . . . . :’ Using Before-After String Operation. Store The Extracted Text In Clipboard.
Click to Enlarge
Display The Clipboard Variable Using Message Box
Click to Enlarge