IT-Consultant of the year!

At IT Business Awards in Stockholm today I got selected as the IT-Consultant of the year in Sweden. The award is given by IT24 and the paper IT.Branschen, both published by IDG.

Having worked in this business for over 12 years now, it’s nice to see that someone recognizes not only me but all the people nominated. I’d guess that we all work very hard to deliver best value and solutions to our customers.

I’ll start off with saying thank you to my girlfriend, the kids and my sister & brother, I wouldn’t be here without their support through both good and bad times.

I’d like to thank IDG for the award, together with my colleagues and customers for your support/trust/friendship. That goes for my current colleagues as well as former ones, you guys know who you are! I’d also like to include a whole bunch of people from Microsoft for their support: Liselotte, Eva, Ulf, Michael & Michael. Others who deserve a thank you are Louise and Jaqueline for pushing and coaching.

Sometimes you can’t make it on your own.


Read more at: (SWE) http://www.idg.se/2.1085/1.273710/it-business-awards—har-ar-vinnarna?showGallery=true&img=5#selected
See images at: http://www.facebook.com/#/album.php?aid=124498&id=179578104541
See video at: http://tv.idg.se/2.8683/1.274094/sa-var-it-business-awards-2009

The cloud OS?

Having read a lot lately about the cloud OS, Azure (great video here), Chromium and the rest that’s “in the cloud” I decided to actually test two of the alternatives. For those of you that know me I’m a Microsoft-geek, so I went outside my circles and tested Chromium and JoliCloud. Chromium came preinstalled on a VMDK so I didn’t have to do more than mount it and boot in VirtualBox (VirtualBox is freeware from Sun with an impressive featureset). JoliCloud came as an ISO offering the alternative to run it directly from that, or install it on the harddrive. To get a user experience I installed it in VirtualBox since I don’t own a netbook (so if you’re from Samsung and read this, yepp you can send me one).

The two videos of the OS’s can be found at /tv. I know that sound quality is a little shaky, but for geek purposes it’ll do 🙂

So what’s my opinion on this?

Chromium is in an early “developer build”, so it’s hard to say. Personally I don’t like the fact that single sign-on doesn’t work. I’d rather see that once you choose to use it it logs you in to all Google web services at once. Or subscribe you to those you don’t have yet. I’m not quite sure about handing over everything I do to Google either, but that’s more an integrity question. The lack of offline capability is a huge annoyance. Reading stuff like http://www.theregister.co.uk/2009/11/25/google_chrome_os_closedness/ doesn’t make me more positive either.

JoliCloud has a very nice idea going. You install a linux-based OS which gives you offline access to your stuff locally, and you can logon to “the cloud” which hosts applications at their location. And if you don’t wanna run linux you could install JoliCloud Express, which lets you access the cloud from a Windows application.

If I have to choose today what to run, I’d go for JoliCloud based on functionality, integrity and offline capabilities. I was up and running with everything working in less than 30 minutes, and I’m a Windows-geek…

Download Chromium from GDGT.com (requires login or Facebook account)
Request invitation to JoliCloud

What’s your opinion on the cloud? Comments are welcome!

PowerCFG unleashed

How about that for a title about power management? Personally I came across this utility when doing research for a tour. I used it to enable core parking in Windows Server 2008 R2 but couldn’t then figure out that loooong string. One of my readers have now asked me what the string actually means, so I did some more research.

Research the easy way (for a tour): Google it. Find whitepaper from Microsoft. Read it. Done.
Research for answering readers that won’t give up and still ask you 3 months from now: Find out. (Mårten, keep reading, your answer is all the way down!)

Turns out that PowerCFG is a mean kicka-s utility that can do a lot of stuff.


POWERCFG
Description:
This command line tool enables users to control the power settings
on a system.

Parameter List:
-LIST, -L Lists all power schemes in the current user's environment.

Usage: POWERCFG -LIST

-QUERY, -Q Displays the contents of the specified power scheme.

Usage: POWERCFG -QUERY

(optional) Specifies the GUID of the power scheme
to display, can be obtained by using powercfg -l.
(optional) Specifies the GUID of the subgroup
to display. Requires a SCHEME_GUID to be provided.

If neither SCHEME_GUID or SUB_GUID are provided, the settings
of the current user's active power scheme are displayed.
If SUB_GUID is not specified, all settings in the specified
power scheme are displayed.

-CHANGE, -X Modifies a setting value in the current power scheme.

Usage: POWERCFG -X

Specifies one of the following options:
-monitor-timeout-ac
-monitor-timeout-dc
-disk-timeout-ac
-disk-timeout-dc
-standby-timeout-ac
-standby-timeout-dc
-hibernate-timeout-ac
-hibernate-timeout-dc

Example:
POWERCFG -Change -monitor-timeout-ac 5

This would set the monitor idle timeout value to 5 minutes
when on AC power.

-CHANGENAME Modifies the name of a power scheme and optionally it's
description.

Usage: POWERCFG -CHANGENAME

If the description is omitted only the name will be changed.

-DUPLICATESCHEME
Duplicates the specified power scheme. The resulting
GUID which represents the new scheme will be displayed.

Usage: POWERCFG -DUPLICATESCHEME

Specifies a scheme GUID obtained by using the powercfg -l.

If is omitted, a new GUID will be
created for the duplicated scheme.

-DELETE, -D Deletes the power scheme with the specified GUID.

Usage: POWERCFG -DELETE

obtained by using the LIST parameter.

-DELETESETTING
Deletes a power setting.

Usage: POWERCFG -DELETESETTING

Specifies the subgroup GUID.
Specifies the power setting guid.

-SETACTIVE, -S
Makes the specified power scheme active on the system.

Usage: POWERCFG -SETACTIVE

Specifies the scheme guid.

-GETACTIVESCHEME
Retrieve the currently active power scheme.

Usage: POWERCFG -GETACTIVESCHEME

-SETACVALUEINDEX
Sets a value associated with a specified power setting
while the system is powered by AC power.

Usage: POWERCFG -SETACVALUEINDEX

Specifies a power scheme GUID and may be
obtained by using PowerCfg /L.
Specifies a subgroup of power setting GUID and may
be obtained by using "PowerCfg /Q."
Specifies an individual power setting GUID and may
be obtained by using "PowerCfg /Q".
Specifies which of the list of of possible values
this power setting will be set to.

Example:
POWERCFG -SetAcValueIndex 5
This would set the power setting's AC value to the 5th entry
in the list of possible values for this power setting.

-SETDCVALUEINDEX
Sets a value associated with a specified power setting
while the system is powered by DC power.

Usage: POWERCFG -SETDCVALUEINDEX

Specifies a power scheme GUID and may be
obtained by using PowerCfg /L.
Specifies a subgroup of power setting GUID and may
be obtained by using "PowerCfg /Q."
Specifies an individual power setting GUID and may
be obtained by using "PowerCfg /Q".
Specifies which of the list of possible values
this setting will be set to.

Example:
POWERCFG -SetDcValueIndex 5
This would set the power setting's DC value to the 5th entry
in the list of possible values for this power setting.

-HIBERNATE, -H
Enables-Disables the hibernate feature. Hibernate timeout is not
supported on all systems.

Usage: POWERCFG -H
POWERCFG -H -Size -Size Specifies the desired hiberfile size in percentage of the
total memory. The default size cannot be smaller than 50.
This switch will also enable the hiberfile automatically.

-AVAILABLESLEEPSTATES, -A
Reports the sleep states available on the system
Attempts to report reasons why sleep states are unavailable.

-DEVICEQUERY
Return a list of devices that meet the specified criteria.

Usage: POWERCFG -DEVICEQUERY

Secifies one of the following criteria:

wake_from_S1_supported Return all devices that support waking the
system from a light sleep state.
wake_from_S2_supported Return all devices that support waking the
system from a deeper sleep state.
wake_from_S3_supported Return all devices that support waking the
system from the deepest sleep state.
wake_from_any Return all devices that support waking the
system from any sleep state.
S1_supported List devices supporting light sleep.
S2_supported List devices supporting deeper sleep.
S3_supported List devices supporting deepest sleep.
S4_supported List devices supporting hibernation.
wake_programmable List devices that are user-configurable
to wake the system from a sleep state.
wake_armed List devices that are currently configured
to wake the system from any sleep state.
all_devices Return all devices present in the system.
all_devices_verbose Return verbose list of devices.
Example:
POWERCFG -DEVICEQUERY wake_armed

-DEVICEENABLEWAKE
Enable the device to wake the system from a sleep state.

Usage: POWERCFG -DEVICEENABLEWAKE

Specifies a device retrieved using
"PowerCfg -DEVICEQUERY wake_programmable".

Example:
POWERCFG -DEVICEENABLEWAKE
"Microsoft USB IntelliMouse Explorer"

-DEVICEDISABLEWAKE disable the device from waking the system
Disable the device from waking the system from a sleep state

Usage: POWERCFG -DEVICEDISABLEWAKE

Specifies a device retrieved using
"PowerCfg -DEVICEQUERY wake_armed".

-IMPORT Imports all power settings from the specified file.

Usage: POWERCFG -IMPORT

Specify a fully-qualified path to a file generated by
using "PowerCfg -EXPORT parameter".
(optional) The settings are loaded into a power scheme
represented by this GUID. If not supplied, powercfg
will generate and use a new GUID

Example:
POWERCFG -IMPORT c:scheme.pow

-EXPORT Exports power scheme, represented by the specified GUID, to the
specified file.

Usage: POWERCFG -EXPORT

Specify a fully-qualified path to a destination file.
specifies a power scheme GUID and may be obtained by
using "PowerCfg /L"

Example:
POWERCFG -EXPORT c:scheme.pow
381b4222-f694-41f0-9685-ff5bb260df2e

-LASTWAKE Reports information about what woke the system from the last
sleep transition

-HELP, -? Displays information on command-line parameters.

-ALIASES Displays all aliases and their corresponding GUIDs.
The user may use these aliases in place of any GUID on
the commandline.

-SETSECURITYDESCRIPTOR
Sets a security descriptor associated with a specified
power setting, power scheme, or action.

Usage: POWERCFG -SETSECURITYDESCRIPTOR

Specifies a power scheme or a power setting GUID.
Can be one of the following strings:
ActionSetActive, ActionCreate, ActionDefault
Specifies a valid security descriptor string in SDDL
format. Call POWERCFG -GETSECURITYDESCRIPTOR to see
an example SDDL STRING.

-GETSECURITYDESCRIPTOR
Gets a security descriptor associated with a specified
power setting, power scheme, or action.

Usage: POWERCFG -GETSECURITYDESCRIPTOR
Specifies a power scheme or a power setting GUID.
Can be one of the following strings:
ActionSetActive, ActionCreate, ActionDefault

-REQUESTS
Enumerate application and driver Power Requests. Power
Requests prevent the computer from automatically powering off
the display or entering a low-power sleep mode.

-REQUESTSOVERRIDE
Sets a Power Request override for a particular Process, Service,
or Driver. If no parameters are specified, this command displays
the current list of Power Request Overrides.

Usage: POWERCFG -REQUESTSOVERRIDE
Specifies one of the following caller type:
PROCESS, SERVICE, DRIVER. This is obtained by
calling the POWERCFG -REQUESTS command.
Specifies the caller name. This is the name
returned from calling POWERCFG -REQUESTS command.
Specifies one or more of the following Power
Request Types: Display, System, Awaymode.
Example:
POWERCFG -REQUESTSOVERRIDE PROCESS wmplayer.exe Display System

-ENERGY
Analyze the system for common energy-efficiency and battery life
problems. The ENERGY command should be used when the computer is
idle and with no open programs or documents. The ENERGY command
will generate an HTML report file in the current path. The ENERGY
command supports the following optional parameters:

Usage: POWERCFG -ENERGY [-OUTPUT ] [-XML]
[-DURATION ]
POWERCFG -ENERGY -TRACE [-D ]
[-DURATION ]
-OUTPUT - Specify the path and filename to store the
energy report HTML file.
-XML - Format the report file as XML.
-TRACE - Record system behavior and do not perform
analysis. Trace files will be generated in
the current path unless the -D parameter
is specified.
-D - Specify the directory to store trace data.
May only be used with the -TRACE parameter.
-DURATION - Specify the number of seconds to observe
system behavior. Default is 60 seconds.
-WAKETIMERS
Enumerate the active wake timers. If enabled, the expiration of a
wake timer wakes the system from sleep and hibernate states.

So to start off by answering Mårten:
This string – “bc5038f7-23e0-4960-96da-33abaf5935ec 25” is doing this:

Power Setting GUID: bc5038f7-23e0-4960-96da-33abaf5935ec (Maximum processor state)
Minimum Possible Setting: 0x00000000
Maximum Possible Setting: 0x00000064
Possible Settings increment: 0x00000001
Possible Settings units: %
Current AC Power Setting Index: 0x00000064
Current DC Power Setting Index: 0x00000064

This can actually be found out by typing powercfg /q in the commandline.

So for those of you that read the original post here, or if you didn’t, the command we used was
powercfg -setacvalueindex scheme_current sub_processor bc5038f7-23e0-4960-96da-33abaf5935ec 25

If we analyse this we’ll get that “-setacvalueindex” means that this will apply when the computer is running on AC power (plugged in). “scheme_current” means that this applies to whatever power scheme we’re currently using. “sub_processor” means that we wish to edit the settings for the CPU group (using -aliases will show you which alias is which GUID) . The long number (bc5038f7-23e0-4960-96da-33abaf5935ec) is the “maximum processor state” (which ones that are available can be found with powercfg /q) and the 25 in my example leaves 25% of the CPU awake when the cores are parked. Note that at least one core / CPU will be awake as it otherwise would be impossible to wake it up again.

So, what more can you do?

powercfg /? – lists command line help for the utility
One of the most interesting ones is -aliases which will show you the guid’s and their corresponding alias.
powercfg /l – Will list all the current powerschemes available.
powercfg /q – Will list the sub-groups available.

You can also import / export your power schemes. You can enable/disable waking up your system for different devices or drivers and so on. There’s a LOT you can do with this one.

To answer Mårtens questions:

“bc5038f7-23e0-4960-96da-33abaf5935ec 25″ What string is this? Is this string for ALL servers or AMD or INTEL?

You know what the string is for now. And the answer regarding AMD or Intel is that it’s the same command no matter which CPU manufacturer you prefer. It’s a matter of telling Windows what to do (as always).

How’s that for an answer?

Auf wiedersehen Berlin!

Packed, checked out, came home and had a great weekend with the family. The last days of TechEd 2009 in Berlin were just as great as the first ones. The days were spent in the TLC-area answering clustering questions. This year we had a lot of questions on CSV and geo-clustering, live migration over geo-clusters seemed to be of great interest also.

Wednesday was the Swedish country party which was sponsored by Knowledge Factory and SpecOps together with Microsoft. Had a great time, met a lot of interesting people but gave up around 00.15 to get some sleep before my session. Slept for as long as possible Thursday morning before breakfast, ironing the shirt and packing my four laptops, switch, powerstrip and USB-sticks into my bag. Arrived at 11.00 to have some time for a coffee and just preparing mentally.

12:05 the guy before me finished in the room so I rushed in to get everything setup before 12:20. Of course my laptop refused to show any picture on the projector. The video guy wanted a reboot so he got one, the result was picture and a DC in recovery mode. The time was 12:17 so I didn’t have time to do anything about it, I chose to reset it and hope for the best. It came up fine after that so I delivered my session without any more flaws. When practicing the time has been 40-45 minutes, it took 36 now so I guess I got a little nervous from the trouble in the beginning.

Thursday night was the Dutch country party. Me, some Swedish friends and two of my colleagues went and had a great time. The Dutch really know how to party! By 2 am the bar was out of everything except dark beer and red wine. I gave up and went home somewhere around here…

I’ve received some emails, some new Twitter-followers, Linked In-connections and the stats here went up quite a lot afterwards. The map is two hours after my session! Most visitors seems to search for Hyper-V on USB, check out the guide if you haven’t done so already!

Here are a few pics (taken by my colleague Christian and one by Sander Berkouwers colleague whos name I’ve forgotten and will change immediately as soon as I find out).

Lightbox:



Today was a good day!

To quote Ice Cube and the Nike commercial.

I got the news today that I’ve been chosen as one of the three finalists as IT-consultant of the year by IT24 in Sweden.

Yesterday we spent the night at the Springboard party here in Berlin. It was a good time, gave up around midnight. Some of my former colleagues came home around 7 the rumour says. Tonight Knowledge Factory, SpecOps and Microsoft are having the Swedish country party at Solar here in Berlin. It’ll be fun, but I’ll be the responsible one and go home early tonight also. My session is tomorrow at 12.20, will I see you there?

Here are some pictures from Berlin!

[album id=12 template=extend]

TechEd Berlin 2009 – Monday

Spent the weekend in Berlin as we arrived Saturday around lunch. We’ve done some sightseeing and managed to see Berlins museum of contemporary art (http://worldvisitguide.com/musee/M0289.html) on Saturday afternoon. Sunday we went to the Mauer Museum (http://www.mauer-museum.com) which was very interesting. We were supposed to have dinner in the TV-tower but due to the foggy weather we cancelled it since you couldn’t see the top of it.

Sunday afternoon we went out to get our passes at the Messe. This place is huge and makes Barcelonas venue seem really small.

Monday was spent fixing my laptops and the final touch of my presentation. Now I’m all set!

Today (Tuesday) I’m gonna watch some sessions and then spend a few hours in the Clustering TLC-booth. If you have any questions, come by and say hi!