4,461
edits
Check for an open port Tag: visualeditor |
mNo edit summary |
||
Line 1: | Line 1: | ||
== Check for an open port == | == Check for an open port == | ||
< | <syntaxhighlight lang="powershell"> | ||
PS C:\Users\MHan> Test-NetConnection -ComputerName island.doodle.com -Port 443 | PS C:\Users\MHan> Test-NetConnection -ComputerName island.doodle.com -Port 443 | ||
</ | </syntaxhighlight> | ||
== Search files == | == Search files == | ||
< | <syntaxhighlight lang="powershell"> | ||
PS C:\Users\MHan> Get-ChildItem -Recurse -Include *.* | Select-String "text to search for" | PS C:\Users\MHan> Get-ChildItem -Recurse -Include *.* | Select-String "text to search for" | ||
</ | </syntaxhighlight> | ||
== Check version == | == Check version == | ||
< | <syntaxhighlight lang="powershell"> | ||
PS C:\Users\MHan> $PSversionTable | PS C:\Users\MHan> $PSversionTable | ||
Line 26: | Line 26: | ||
SerializationVersion 1.1.0.1 | SerializationVersion 1.1.0.1 | ||
</ | </syntaxhighlight> |