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

Leave a Reply

Your email address will not be published.