Тёмный

How to Use PowerShell’s Grep (Select-String) 

ATA Learning
Подписаться 1,6 тыс.
Просмотров 3,5 тыс.
50% 1

PowerShell doesn't necessarily have a 'grep' but it DOES have a grep-like command called Select-String that does something very similar. Learn how to find strings in strings with simple regex matching in this informative step-by-step tutorial on PowerShell's Select-String command.
Check out the associated written guide! bit.ly/3Miwcd5

Опубликовано:

 

22 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@LOOregano
@LOOregano Год назад
Wow, this is super powerful function. I think it will become a favorite. Thanks for the great video on it!
@Chechu01
@Chechu01 Год назад
Hi, thanks for your video Is it possible to search for two words in different places on a single line?
@MrSph1nX
@MrSph1nX Год назад
Can someone explain to me why this command doesnt return anything? (eventhough one of the lines start with Virtual...) gcim Win32_Processor | fl *|Select-String -pattern 'Virtualization'
@LOOregano
@LOOregano Год назад
I had an issue when exporting to a file and I think the MS article said that the issue was Format-list was the issue and couldn't be used as an intermediary step. If you replace FL * with Select-object, does it give you what you want? It at least returns something. I should say I am somewhat new to PS.
Далее
PowerShell Quick Tips : RegEx Regular Expressions
32:04
PowerShell and How to Manipulate Strings
20:13
Украшаю чехлы 🎀
00:51
Просмотров 132 тыс.
Finding Strings Inside of Strings with PowerShell
6:06
The Ultimate Guide to Robocopy
9:16
Просмотров 9 тыс.
PowerShell Input & Output
20:53
Просмотров 24 тыс.
PowerShell Hashtables
25:19
Просмотров 3,2 тыс.
Working with the PowerShell Pipeline
15:17
Просмотров 88 тыс.
search string in file in powershell
6:58
Просмотров 434