About 16,400 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 dropped the …

  2. 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, 4 months ago

  3. 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.

  4. 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. Does anyone …

  5. 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 named subfolder.

  6. powershell - How to copy all files by specified extension to another ...

    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 destination directory, so …

  7. Is there a way to change multiple file extensions at once on Windows …

    Jan 9, 2024 · If I have a bunch of files with one file extension, is there a way to quickly change them to another file extension without having to manually change one file at a time? The Microsoft support …

  8. 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? i was under …

  9. 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 PowerShell (7.4.3) …

  10. How can I determine file type without an extension on Windows?

    Apr 24, 2011 · I sometimes get files from my clients that have the wrong file extension. For example, the name is image.jpg but the file is actually a TIFF image. In many cases I can clarify it by opening the fil...