Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » How to   (RSS)

The point of Windows 7 libraries and search

In my previous post I mentioned a correspondent – his name is Andy – who’d written asking the question “What the hell is the point of libraries and if you have the name of the person whose idea they were please post it for summary flaming” He made another
Posted by jamesone | 2 Comments

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

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: ,

How to Install an Image onto a VHD file.

The last post I made talked about customizing windows image (.WIM) files, and the post before that talked about creating Virtual hard disk (.VHD) files. So the last step is to look at putting an image onto a VHD and making it bootable So the steps are

How to: customize Windows images with DISM

In the initial release of Windows Server 2008 one of the the questions which always came up was “how do I add X” – the answer was we had tools named OCSETUP and OCLIST. These have been superseded in Windows 7 and Server 2008 R2 with the new Deployment

How to: work with VHD files at the command line.

Virtual Hard Disk (VHD) files have been given greater importance in Windows 7 and Server 2008 R2. They’ve always been used for hosting virtual machines (from the earliest Virtual PC through to Hyper-V) , and in Vista the complete image backup began to

How to use Advanced Queries in Windows search.

If there was one single feature about Windows Vista which made me say “I’m never ever going back to Windows XP” it was search and the way search was integrated everywhere. True you can download Microsoft Search for Windows XP (and , as they say other

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

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

Setting up Domain controllers on Server Core.

One of the things I have pointed people to a few times recently  is the Windows Server Core document in the step by step guides for Server 2008. Want to know how to install a role ? It's in there. Configure TCP/IP from the command line ? That's there

How I get the server 2008 I want: #3: Vista look and feel

I'll be the first to admit that Servers don't need to have the nice look and feel that we get with Desktop Operating Systems. But since the core of the OS is common to both it is possible. In Windows Server 2003 we had the XP Themes Service and if you

How I get the server I want: #2 Getting sound in Hyper-V

Before I start - lets be clear THERE IS NO SOUND CARD IN A HYPER-V VM Good. Now that's out of the way lets talk about how we get sound in a Machine without a sound card - and this applies to a physical server too. Sitting in it's rack in the data-centre
More Posts Next page »
 
Page view tracker