About 16,100 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. 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 …

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

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

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

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

  8. 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 …

  9. powershell - How do we search for files which contain a specific word ...

    Sep 17, 2023 · How do we use Microsoft Windows PowerShell and Regular Expressions (Regex) in order to find all of the pictures (image files) on a computer such that the file name contains the word " …

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

    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 using …