Plaster allows developers to scaffold file and folder structure for a new PowerShell module.
Month: June 2020
PowerShell command history
PowerShell keeps the history of executed commands.
PowerShell itself keeps them in memory. In addition to this, the PSReadline module saves them in a file on the hard drive. that allows us to go back to command entered not only in the current session, but also executed some time ago and probably in different PowerShell version.
ForEach-Object and its scriptblocks
ForEach-Object is used for performing specified actions on every element of an array.
This array can be specified as a value of the -InputObject parameter, but in the majority of cases it is received from the pipeline.