It’s a known best practice to validate all parameters of a function or a script. But how would you validate a file parameter for a new file?
Displaying firewall rules with PowerShell is very easy with the Get-NetFirewallRule cmdlet.
However, there is a gap: port numbers are not displayed.
In PowerShell 6.2 PSReadLine and your usual shortcuts are not working at all…
Please note that this post is not intended to absolute PowerShell beginners, but rather to Windows PowerShell users who want to give a try to PowerShell Core aka PowerShell 6.x.