Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Exemplo de Foreach
- cls
- #Foreach ($numeros in 1,2,3,4,5,6,7,8,9) { echo $numeros}
- foreach($arquivos in Get-ChildItem){
- echo $arquivos.fullName
- }
- #Mais exemplo
- Get-Process notepad+++
- Get-Process notepad++ | foreach kill
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement