Skip to content

Instantly share code, notes, and snippets.

@movalex
Created January 11, 2024 00:52
Show Gist options
  • Save movalex/e4d6fd015c5a59425a42f038cb91f0af to your computer and use it in GitHub Desktop.
Save movalex/e4d6fd015c5a59425a42f038cb91f0af to your computer and use it in GitHub Desktop.
Powershell get file list without extensions
Get-ChildItem | Select-Object -ExpandProperty Name | ForEach-Object { $_.Substring(0, $_.LastIndexOf(".")) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment