ThePowerShellGuy.com

Did you do your PowerShelling today ?
Welcome to ThePowerShellGuy.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » PowerShell » Function
  • Trace-Port

     This post is about home-made netcat :) Of course this is only one function of it, but it can be useful too. Sometime you want to listen on some port and see data that arrives to it to analyze it.  There is the script: function Trace-Port([int]$port=23, [string]$IPAdress=''127.0.0.1'', ...
    Posted to Xaegr's PowerShell blog (Weblog) by Xaegr on June 3, 2007
  • Get-WwwContent

    One of functions that i use very often is Get-WwwString. All what it does - downloads page from web and returns it in string. It is like unix command wget $url -O - .Net have WebClient objects for doing things like this, so you just need to wrap it into function easy to use in PowerShell. function Get-WwwContent ([string]$url, ...
    Posted to Xaegr's PowerShell blog (Weblog) by Xaegr on June 2, 2007
Powered by Community Server (Personal Edition), by Telligent Systems