PowerShell: Copying all files with specific extensions from one directory to another?
Hey there,
I currently am working at a client site and I need to be able to use PowerShell to search through all folders of a directory and copy only .msi/.exe files to my local computer but, exclude any .exe files name that starts with SDLSetup. I need to this so I can convert all Packages into Applications. This is for SCCM and later down the road we will be converting to .appx (App-V) I figured the conversion would a go a lot smoother with .msi's instead of a Wise Script (SDLSetup.exe)
Thanks.
I currently am working at a client site and I need to be able to use PowerShell to search through all folders of a directory and copy only .msi/.exe files to my local computer but, exclude any .exe files name that starts with SDLSetup. I need to this so I can convert all Packages into Applications. This is for SCCM and later down the road we will be converting to .appx (App-V) I figured the conversion would a go a lot smoother with .msi's instead of a Wise Script (SDLSetup.exe)
Thanks.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
dedenker
10 years ago