ThePowerShellGuy.com

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

Browse by Tags

All Tags » PowerShell » .NET
Showing page 1 of 2 (12 total posts)
  • Send mail from PowerShell with a nice “bell” icon

    Marc Lognoul shows on his  Straight from the Cask! blog how send mail from PowerShell with a nice “bell” icon  The magical GUID 3BD50098E401463AA228377848493927 , he also explains how to send the mail as Html in this post. Great to send alert mail's from PowerShell !   Enjoy, Greetings /\/\o\/\/
    Posted to The PowerShell Guy (Weblog) by MoW on July 14, 2007
  • 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
  • PowerShell Wake-on-lan script

    *note* I forgot this post still was in my drafts folder, I posted the script in the PowerShell Newsgroup and asked if someone could test it and I got confirmed that it did work,thanks again,  so here it is : I came along this post about WOL (wake-on-Lan) in PowerShell : Wake-On-LAN script , and that it did use an external .EXE As I ...
    Posted to The PowerShell Guy (Weblog) by admin on April 1, 2007
  • Hey PowerShell Guy ! what is the Hex value of Chocolate ?

    Didn't you always' wanted to know this ?   This time not a Hey Scripting Guy ! translation, but from a NG post answer Translating colors to hex and back   (color asked was Red actually ;-) ) :PoSH> ''{0:x}'' -f ([drawing.Color]'Chocolate').ToArgb() ffd2691e ...
    Posted to The PowerShell Guy (Weblog) by admin on March 8, 2007
  • Hey, PowerShell Guy !How Can I Change the First Two Octets of an IP Address?

    An other Hey Scripting Guy translation : How Can I Change the First Two Octets of an IP Address? for only the IP Part I decided to use a .NET helper this time, just to do it different : $ip = [System.Net.IPAddress]'10.10.1.2' $b = $ip.GetAddressBytes() ''192.168.$([string]::Join('.',$b[2..3]))''  for the Complete example I also ...
    Posted to The PowerShell Guy (Weblog) by admin on March 2, 2007
  • MOW PowerShelled Blogitems Index : December 2006

    This is the first entry, of a series of posts indexing the PowerShell Blogitems on my Old Blog /\/\o\/\/ PowerShelled I have been asked a couple of times for a list or an index to the Entries on my Old blog as some of the information and examples are bit hard to find. I often search my old blog on keywords (for example ...
    Posted to The PowerShell Guy (Weblog) by admin on February 22, 2007
  • Happy Chinese New Year

    In my answer on the question Scripting Games 2007 Advanced PowerShell Event 3 and 4 , I used a formula the get the Chinese Year. But to get from a date to a Year would take much more work, as the Chinese Year do not start and end on the same day. (so the scripting guys did say we could ignore it ),  And today is New Year ( See second ...
    Posted to The PowerShell Guy (Weblog) by admin on February 18, 2007
  • AD Infrastructure management with PowerShell

    Adam Bell, is doing a very cool series about AD and PowerShell on his blog : Lead, Follow, or Move and has some very interesting topics about Active Directory Infrastructure management, a recommended read ! It shows very well how to work with the ADSI wrapper (a.o. the create method in the OU example ) But for the Infrastructure tasks, as ...
    Posted to The PowerShell Guy (Weblog) by admin on February 9, 2007
  • PowerShell : Accessing alternative data-streams of files on an NTFS volume ...

    As Adrian Milliner, mentioned on his blog here :  Alternate Data Streams , Alternate Data Streams are not supported in PowerShell, To make it even worse, the reason for this is that also the .NET framework does not support it, you need to use a API , As for vista in CMD.exe the support for Alternate datastream is ...
    Posted to The PowerShell Guy (Weblog) by admin on January 27, 2007
1 2 Next >
Powered by Community Server (Personal Edition), by Telligent Systems