Comment by dgan

Comment by dgan 10 months ago

1 reply

Sure thing :

$env::Path (the semicolon? so Path is not quoted here? But when I assign a value it's quoted?)

Dir -r | %($_.Name.ToLower) ( what is this? statement dreamed by utterly deranged)

They took us for absolute fools

brazzledazzle 10 months ago

I mean you don't need to use the convenience aliases, or use even use it exactly that way. Here's it without any aliases:

Get-ChildItem -Recurse | ForEach-Object { $PSItem.Name.ToLower() }

This might be a better mix of both worlds:

gci -r | foreach { $PSItem.Name.ToLower() }