Articles → AUTOMATION ANYWHERE → Get IP Address Of Machine In Automation Anywhere

Get IP Address Of Machine In Automation Anywhere






Steps




  1. Open command prompt.
  2. Write ‘ipconfig’ command.
  3. Copy the data of command prompt window in clipboard variable
  4. Extract the text between ‘IPv4 Address. . . . . . . . . . . :’ and ‘Subnet Mask . . . . . . . . . . . :’ using before-after string operation. Store the extracted text in clipboard.
  5. Display the clipboard variable using message box.



Open Command Prompt




Picture showing the Open program/Files command to open command prompt

Click to Enlarge


Write ‘Ipconfig’ Command




Picture showing the Insert Keystrokes command for entering ipconfig in command prompt

Click to Enlarge


Copy The Data Of Command Prompt Window In Clipboard Variable




Picture showing the App Integration command to copy the data in command prompt in clipboard

Click to Enlarge


Extract The Text Between ‘Ipv4 Address. . . . . . . . . . . :’ And ‘Subnet Mask . . . . . . . . . . . :’ Using Before-After String Operation. Store The Extracted Text In Clipboard.




Picture showing the string operation command for extracting data from clipborad variable

Click to Enlarge


Display The Clipboard Variable Using Message Box




Picture showing the value of clipoard in messagebox activity

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, March 8, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250