How to list all items - both regular and hidden - in powershell using Get-ChildItem?

Just Get-ChildItem doesn't list hidden items. Get-ChildItem -Hidden lists only hidden items.

Something like ls -a from Linux world would be nice.


Use Force for example

Get-ChildItem -Force

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.