Is there anyway to get a list of files in a folder using the get-childItem command but without file extension?
right now I am using “Get-ChildItem | where Length -eq 0 | select -ExpandProperty Name”
but this returns me a list of files named by hostnames so it looks like this:
I need to have it returned like this:
so just without extension, is there anyway to do it or do I need to manualy delete every extension?
Thanks a Lot!