Spaces Cause Split in Path with PowerShell

We can call an executable by using its absolute path. The path can be like “C:\Windows Services\backup.exe”. This creates the error like below. This error is also named as spaces cause split in path . In this tutorial we examine how to solve this error. Use Double Quotos Double quotos are the first solution in … Read more

PowerShell SubString (Extract Substring) Tutorial

PowerShell SubString (Extract Substring) Tutorial

PowerShell provides different methods in order to work with String variables and string values. The substring operation is used to extract some part of the string from a complete string. The substring() method is generally used to extract some part of the string. In this tutorial, we examine how to extract substring with start index … Read more

String Replace In PowerShell

String Replace In PowerShell

String or text operations are one of the most popular operations in PowerShell. And the replacement operation is a popular operation for String data or variables. Replace will simply change the specified string pattern with a newly specified one. The string data type provides the -replace option or method which can be used to change … Read more