Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » Powershell   (RSS)

Making word clouds (Part 2: how to use it , and clouds from twitter).

Attached to this post is a Zip file containing Twitter.ps1 the PowerShell script I use to get information from Twitter, and since the word cloud work grew out of that it has ended up in the same file. It also contains noise.dat the list of noise words
Posted by jamesone | 0 Comments
Attachment(s): Word-Clouds.zip

Making Word clouds (Part 1: how it works).

I’ve been playing with word clouds on and off for the last couple of months, and finally I’ve decided the time has come to share what I have been doing. Word clouds turn up in all sorts of places, and I wanted to produce something which could take any

On PowerShell function design: vague can be good.

There is a problem which comes up in several places in PowerShell – that is helping the user by being vague about parameter types. Consider these examples from my Hyper-V library for PowerShell 1. The user can specify a machine using a string which contains
Posted by jamesone | 0 Comments

PowerShell on-line help: A change you should make for V2 (#3) (and How to Author MAML help files for PowerShell)

In the last could of “change you should make” posts I’ve talked about a couple of things which turn Functions from being the poor-relation of compiled Cmdlets (as they were in PowerShell V1) to first class citizens, under V2. Originally the term “Script
Posted by jamesone | 0 Comments
Filed under: ,

Attachment(s): PSH-Help.xsn

PowerShell Modules: A change you should make for V2. (#2)

A few days back I wrote about PowerShell version 2’s ability to confirm whether it should be changing something . Since I was writing something which would some pretty drastic changes , supporting –WhatIf and –Confirm for almost no effort seems like a
Posted by jamesone | 0 Comments
Filed under: ,

How to activate Windows from a script (even remotely).

I have been working on some PowerShell recently to handle the initial setup of a new machine, and I wanted to add the activation. If you do this from a command line it usually using the Software Licence manager script ( slMgr.vbs ) but this is just a

More PowerShell: A change you should make for V2. (#1)

There will be a couple more posts on changes for V2, of PowerShell but I want to get something really clear up front. All V1 PowerShell should work in V2. Should meaning unless you have been really stupid or are very unlucky; you won’t NEED to change
Posted by jamesone | 0 Comments
Filed under:

How to: have nicer Active Directory management from PowerShell – without upgrading AD

One of the first books I read on PowerShell  had a comment about using AD from the PowerShell V1 which amounted to “It’s too hard, don’t bother use VB Script instead”. I’d taken against the book in question (no names no pack drill) – in fact it reminded

How to get user input more nicely in PowerShell

Long, long ago when I was using my first Microsoft product, I knew one way to get input from the user. The product was Commodore BASIC (in those days we wrote it in uppercase and knew it stood for Beginners All-purpose Symbol Instructional Code). and
Posted by jamesone | 2 Comments
Filed under: ,

Parsing lists to objects in PowerShell – Tzutil

Last week I taught a PowerShell class – the first time in ages I’d gone back to my old role as a trainer, and of the first things we do explaining PowerShell is explain that (a) When PowerShell’s own commands are piped together they pass object with properties

Llet the [scripting] Games begin.

The Windows scripting guys have put up the details of the first event in this years summer scripting games. Entries this year can be in VB Script or PowerShell and each of the 10 events has a  beginner and Advanced version. I could do the advanced
Posted by jamesone | 0 Comments
Filed under:

Boot from VHD – the joy of BCDedit and a nice hyper-v gotcha or two.

I’ve been updating two of my machines from the Beta to the RC of Server 2008 R2. It’s been quite a learning experience, and I’ve put together a video to show some of the things that Windows 7 and Server 2008 R2 can do with VHDs which should be posted

How to manage the Windows firewall settings with PowerShell

I mentioned recently that I’m writing a PowerShell configuration tool for the R2 edition of Hyper-V server and Windows server core. One of the key parts of that is managing the firewall settings…. Now… I don’t want to plug my book too much (especially

How to drive Twitter (or other web tools) with PowerShell

First of all since I’ve mentioned twitter a few times recently I should say I have this cartoon of Hugh’s in my head as a warning . After a 10 days on Twitter I’m qualified to talk about it like an expert … There are some obvious points of interest. (1)
Posted by jamesone | 4 Comments
Filed under: ,

Attachment(s): twitter.zip

A Job or two saved for my “PowerShell configurator”

Somewhere in the queue of things to post is the remainder of my PowerShell configurator for Windows Server 2008 R2 Core and Hyper-VS Server R2. If you’re building a cluster the PowerShell CMDlets for clustering make that a breeze. Of course a cluster
More Posts Next page »
 
Page view tracker