Powershell

From Wiki
Revision as of 15:18, 10 December 2021 by Ebasso (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Dicas de PowerShell

Comandos equivalentes do Linux/Bash

Localizando strings em arquivos

Get-Content * | Select-String "string"


Contando linhas

ls | Measure-Object -line
Get-Content * | Select-String "string" | Measure-Object -line


= Outras dicas

PowerShell: Conectando ao Domino

Windows: Impedir que a minha sessão de Remote Desktop seja fechada devido à inatividade?