Facing new challenges everyday

Getting started with Powershell

September 4th, 2010

Powershell is an awesome scripting language for Windows machines, last Sunday I wrote a small script to gather computer monitor info stored on windows registry, this is one of the possibilities behind the power of powershell, you can do much more than it.

Here’s a sample script:

1
2
3
4
5
6
7
8
[CmdletBinding(DefaultParameterSetName="Name")]
param (
    [Parameter(Mandatory = $TRUE, ParameterSetName="Name", HelpMessage="Your name")]
    [String]
    $Name
)

write-output "Hello $Name"

(more…)

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare

Visitors Around the World

Polls

How Is My Site?

View Results

Loading ... Loading ...

Categories

Meta

Links

hosted by easy2use.net