Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: What am I doing wrong?

$
0
0

Interesting, removing “%,Foreach-object” does work in both cases (remotely and on console).
Wondering what is going on in background. So powershell when piping any collection to another cmdlet automatically assumes that you want to iterate through collection? It might be good that Powershell is dumbed down to this level but that’s really not very intuitive (at least for me).
Why “Foreach-object” refuses to work also a mistery.


Viewing all articles
Browse latest Browse all 13067

Trending Articles