About 14,700 results
Open links in new tab
  1. What does 1 stands for in .ps1 PowerShell file extention?

    Aug 15, 2022 · 16 Presumably, although I have no documentation to back it up, it's because the 1 was for PS v1. Powershell v2 scripts were supposed to use the extension .ps2 but Microsoft …

  2. Set default app for .PDF file extension to Adobe or Edge?

    Mar 1, 2021 · When my default app is Adobe, print works. When my default app is Edge, print does not work, but the return from ftype is exactly the same as when my default was Adobe. …

  3. Powershell to delete all files with a certain file extension

    Jun 20, 2016 · Powershell to delete all files with a certain file extension Ask Question Asked 9 years, 6 months ago Modified 2 years, 3 months ago

  4. Add extensions to files in a file tree with PowerShell?

    Mar 26, 2021 · Don't use the -replace function to get the new file name value. Use the basename property and the explicit .h extension for the value of the -NewName parameter.

  5. windows - Powershell/Cmd: Find files with a certain extension ...

    Jul 12, 2019 · i’m thinking this might be less of an issue of what script you are running and more to do with your file associations - what program is currently set to open public keys by default? …

  6. PowerShell: Moving files based on extension - Super User

    Oct 15, 2021 · The next part I would run the Get-ChildItem command and loop it right into the Move-Item command to move the file with the matching extension to the same dot extension …

  7. How to Execute Powershell Script AS Powershell 7 from Command …

    May 28, 2020 · In order for me to get this to work, I had to use the fully qualified address for Powershell, i.e.: "C:\Program Files\PowerShell\7\pwsh.exe". Only then was I actually running …

  8. powershell - How to copy all files by specified extension to …

    Oct 29, 2017 · That's because the object name returned by the cmdlet doesn't include the extension, you need to append \*. I'm not sure if Copy-Item allows you to "collapse" the …

  9. How to extract a complete list of extension types within a directory?

    Mar 7, 2012 · 4 Here's a detailed answer using PowerShell (with Windows XP you'll have to install PowerShell): Hey, Scripting Guy! How Can I Use Windows PowerShell to Pick Out the Unique …

  10. powershell - How to easily find files with no extension using …

    Apr 9, 2018 · You can use a for /f loop iterating the output of a dir command with the /B and /A-D parameters, and then use some conditional if logic to only output files without any extensions …