Powershell Tutorial
Introduction to Powershell Managing History of Powershell Commands Cmdlet, Alias, Function and Module in Powershell PSDrive Profile in Windows Powershell Variable Management in Powershell Passing values to parameters from file Creating files and directories Basic File System commands Finding the patterns in files Unique command Replacing patterns in files Comparing objects Sorting objects Other object commands Getting members of an Object Managing processes Managing Jobs IO redirection Piping System Commands Network commands Service Commands WMI(Windows Management Instrumentation) CIM (Common Information Model) Formatting output exporting output XML processing Powershell Module Management Remote computer managementFinding the patterns in windows powershell
We can use “Select-String” command to search for patterns in Windows Powershell. We can specify the regular expression as the first parameter and then provide the name of file in which we have to search the string. Below image shows Select-String (also called as “sls”) command in action.
Web development and Automation testing
solutions delivered!!