Powershell Tip #109: Bulk get the filename without extension

By | August 14, 2016

Tip: You can get the filename without the extension of a file or multiple files using the GetFileNameWithoutExtension method:

OverloadDefinitions

GetFileNameWithoutExtension-overload

Single file

get-filename-without-extension

Multiple files

get-filename-without-extension-multiple-files


previous-buttonnext-button

2 thoughts on “Powershell Tip #109: Bulk get the filename without extension

  1. Pingback: Powershell Tip #108: Bulk rename extensions of files | Powershell Guru

  2. Pingback: Powershell Tip #110: Replace multiple spaces by one comma | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *