posted
17/02/10
By Fredrik Wall
I currently working with clients in an environment
without any system that will update computers
Bios automatically.
So I have started to write a PowerShell script for this.
It uses Windows Forms for the output and WMI for
the information gathering.
This script is very similar to Dells VBScript for Bios Upgrades.
That script can be found here.
My script will check for current version on the computer and
then check in a file structure for the right bios upgrade version
and If It needs to be upgraded It will run the upgrade file.
My file structure is very simple and It’s located on a file share.
The bios upgrade files for Dell computers can be found
at ftp.dell.com/bios
The script is in a alpha or Beta phase, but If you are interested
in It you can mail me, DM me on Twitter or send me a message at
messenger.
Technorati Tags:
PowerShell,
GUI,
WMI,
Bios
posted
15/02/10
By Fredrik Wall
This is a function to determine if the current user
is a member of the local administrator group.
function LocalAdministrator {
$strComputer = "."
$computer = [ADSI]("WinNT://" + $strComputer + ",computer")
$Group = $computer.psbase.children.find("Administrators")
$members= $Group.psbase.invoke("Members") | %{$_.GetType()
.InvokeMember("Name", 'GetProperty', $null, $_, $null)}
$localAdmin = $false
ForEach($user in $members)
{
if ($user -match $env:USERNAME) {
$localAdmin = $true
}
}
}
Usage:
LocalAdministrator
if (!($localAdmin)) {
break
}
This will break the script if the user
don’t belong to the local administrators group.
posted
12/02/10
By Fredrik Wall
We added a special theme for iPhone tonight.
This will make the page load faster and
better in iPhone.
Next step will be to do a new theme for the whole site.
This will be later on.
posted
10/02/10
By Fredrik Wall
Today there is two Google news.
First out is Google Buzz

It’s a social network thing like Facebook,
Twitter etc on GMail.
You can add friends and then “Buzz” about things.
Much like Twitter.
If you like you can add me wall.fredrik@gmail.com.
I’m not a big fan of it yet, but maybe I can be it later on
Read more about it at http://www.google.com/buzz
The other Google news is that Google will be a ISP.
They will try to sell 1GB internet connections to homes.
Read more here.
posted
05/02/10
By Fredrik Wall
The PowerGUI people have done a new Desktop Background.
So I switched right away.
Before:
After:

The new background is on the Winter
Olympic theme.
It can be found here.
posted
03/02/10
By Fredrik Wall
I did buy me an iPhone last week.
And now I have been using it a lot since I
got it.
Yes I’m a PC guy with a iPhone
The applications that I use most after the
the iPod application is Gowalla and Spotify.
My top 10 applications so far:
Gowalla
Spotify
iPod
Facebook
Res i STHLM
Mail
Twitterrific
Maps
Weather
Clock
Yesterday I made a Trip in Gowalla.
Stockholm Crazy Commuter Train –
Stockholm Märsta.

If you got Gowalla you can add me
if you like. http://gowalla.com/users/walle75
At work I just plug-in computer speakers into my
iPhone and use the Spotify application.
My favorite music at work to and with good
sound.
And I got my Twitter account in my iPhone too.
Is there a better Twitter client then the free version of Twitterrific?
Does anybody use a good messenger client in iPhone?