Search in file
Syntax: Select-String <File>-pattern “<What you want to search>"
Search in files of Folder
Syntax: Get-ChildItem <Folder> -recurse | Select-String -pattern <pattern>
Read Text File
Syntax: Get-Content -Path <File Path> -ReadCount 0
Match
Syntax: <Text> – Match <Text>
Replace
Syntax: <Text> -Replace <Text>
Batch File Call
Powershell.exe -executionpolicy remotesigned -File <Powerscript file (extention .ps1)>