Quantcast
Channel: Thomas Maurer MVP - Cloud & Virtualization » Select-String
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

Powershell: Count your Code lines

After Coding some lines in a lot of different files you wanna know how much lines you have coded. There are two (I am sure there are even more) ways to do that. The first one is to get the content of...

View Article


Image may be NSFW.
Clik here to view.

Powershell: Search for String or grep for Powershell

This shows you how you can search in files for a specific content with Windows Powershell. This “replaces” the Windows command-line utility “findstr”. In the Unix/Linux world you mostly use the...

View Article


Image may be NSFW.
Clik here to view.

Powershell: Copy Logfiles with Date and Content

Some days ago I made a blog post about Select-String in Powershell. I created a “script” or a better a command to check logfiles for a specitifc text and copy the logfile to another place....

View Article

Image may be NSFW.
Clik here to view.

Powershell: Copy files and additional files with different name

This maybe helps some people which need to copy mutiple files. In my example I search for Contoso in files called info_*****.txt I need to copy them and also copy the file data_*****.txt....

View Article
Browsing latest articles
Browse All 4 View Live