Powershell: differenze tra le versioni

Da Emigar.
Jump to navigation Jump to search
(Creata pagina con " =tail= Get-Content alert_orcl.log -Tail 200 Categoria:Windows")
 
Nessun oggetto della modifica
Riga 3: Riga 3:
Get-Content alert_orcl.log -Tail 200
Get-Content alert_orcl.log -Tail 200


=grep=
Select-String -Path "*.sql" -Pattern "xxx"
=uniq=
Select-Object -Unique -ExpandProperty Line
=sort=
Sort-Object


[[Categoria:Windows]]
[[Categoria:Windows]]

Versione delle 15:04, 13 lug 2026

tail

 Get-Content alert_orcl.log -Tail 200

grep

Select-String -Path "*.sql" -Pattern "xxx" 

uniq

Select-Object -Unique -ExpandProperty Line

sort

Sort-Object