c
chris bons

Posted on 19th April 2024|43 views

0
votes

Powershell Replace String In File

How will we Replace Strings in Powershell?

Answers
P
Surya kumar

Posted on 19th April 2024

The text present in the string can be replaced using the “replace” operator.

 Example:

 PS > “Hai World".Replace(“World”, “Viswanath”)

Hai Viswanath
 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos