Some useful scripts for Powershell :
File: update-pwsh.ps1
- For Microsoft Windows, always have the latest version of Powershell installed.
File: copy_source_destination.ps1
- For Microsoft Windows, copy files from the source folder and all sub-directories to a destination path. The extension could be personalized, ex:
"*.pdf" or "*.*"
- Also it checks if in destination are files that do not belong to the source folder, deleting the ones that are absent.
- Source files are untouched
Folder: \require
- This is not class implementation in Powershell, it's a simple approach that sometimes is needed to separate our functions into simple files. Like in PHP
require
orinclude
functions.