My Powershell Treatsheet



Purpose Code
List files which do not contain a string
gci |foreach-object{if (-not (select-string -inputobject $_ -Pattern "something")){$_}}
Test Net Connection Test-NetConnection -Port 80 -InformationLevel "Detailed"
                            


Comments

Popular Posts