In this post, I will share with you how to add PSRemoting and SSH remoting tabs to the new Windows Terminal…
So you noticed that when you pipe some cmdlets to the
Select-Object cmdlet, you can hit the TAB key and enumerate all properties of the former cmdlet. But it doesn’t work with your function… Huh!
Sometimes cmdlets are asking for plain-text passwords instead of Secure Strings. And the New-SmbMapping cmdlet (developed by Microsoft! Huh!) is one of them…
Displaying firewall rules with PowerShell is very easy with the Get-NetFirewallRule cmdlet.
However, there is a gap: port numbers are not displayed.
On this one, I will not go very deep with the explanation because it implies many PowerShell knowledge.
However, I will explain the main principle and give a sample of code to make your work easier if you understand it.
Most of the time, you will just have to adapt it to match your needs.