Archive

Author Archive

Add Enqueue and Play in Foobar options in mp3 right click context menu

June 5th, 2010 christian 1 comment
I switched to Foobar recently. It is an awesome media player, but I noticed that for some files (like mp3s) the Enqueue in Foobar option was not present in the right-click context menu. If Foobar was set as the default program, Play in foobar showed up, but the enqueue option still remained missing. Logo_foobar2000

Read more…

Categories: Tips n'Tricks Tags: foobar

Microsoft Team Foundation Server 2010 and external access FQDN

May 1st, 2010 christian No comments
Yesterday I’ve installed Microsoft (TFS) Team Foundation Server 2010 and today I’m struggling with the configuration. My team wants to access the TFS / Source Control Safe using internal but also external host names. So, how to accomplish the right configuration? Good question. To save your time i thought I’ll blog about my journey .. Logo_Microsoft.Team.foundation.server.2010

Read more…

VS.NET TFS: IISReset and The system cannot find the file specified. (2147942402, 80070002)

May 1st, 2010 christian No comments
Okay, today i installed Microsoft Team Foundation Server 2010. At the end of the Setup, i had a warning regarding the configuration of the IIS Web Server Part. In the result i tried to reset the IIS using iisreset.exe. What i got is an error message stating:
The system cannot find the file specified. (2147942402, 80070002)
Logo_Microsoft.Team.foundation.server.2010

Read more…

Hyper-V Remote Management Configuration Utility

April 30th, 2010 christian No comments
HVRemote reduces the manual configuration steps needed for Hyper-V Remote Management down to a few simple commands. Logo_windows-server-2008-hyper-v-logo-v_2

 

  • HVRemote can diagnose common configuration errors.
  • HVRemote is locale neutral, although output is in English only.
  • HVRemote can configure all combinations of workgroup and domain joined clients and servers.
  •  

    http://code.msdn.microsoft.com/HVRemote

    Windows Help File: Navigation to the Webpage was canceled

    April 27th, 2010 christian No comments

    It seems it’s not clear for everyone. When you download a compiled HTML Help file from the internet, the file get’s tagged as insecure. Now when you open the file, the content get’s block unless you remove the lock..

    Screenshot (this is not an error of this page ;)

    CHM_Help_File_Navigation_to_the_webpage_was_canceled

    To unlock the the file, just right-click it in explorer and chose properties. Under Genereal you’ll find an unlock button

    CHM_Help_File_Properties_Unlock_button

    that’s it. Now you can open the and read the file as usual..

    PowerShell: About SessionConfiguration and how to change them

    April 24th, 2010 christian No comments

    Remote Access Without Admin Privileges

    In PowerShell v.2, remote access is available only to users who hold local administrator privileges. So, even if you do have appropriate remote access to a machine, , you cannot remotely access the system if you are not an Admin. This is not a technical limitation, though, just a safe default. You should use this line to change it :

    Set-PSSessionConfiguration -Name Microsoft.PowerShell -showSecurityDescriptorUI

    Categories: PowerShell Tags: PowerShell

    PowerShell: Display almost anything in a graphical GridView

    April 24th, 2010 christian No comments

    Out-GridView Dirty Tricks

    Out-Gridview is a new cmdlet in PowerShell v.2 which allows you to output objects to a “mini” excel sheet like this:

    Get-Process | Out-GridView

    However, this only works if .NET Framework 3.51 is installed. While PowerShell requires just .NET 2.0, both Out-GridView and ISE-Editor require 3.51 because of their WPF graphical output.

    Out-Gridview will display the same columns you would have seen when you output the objects to the console. You should clone the object first to see all object properties in your gridview:

    Get-Process | Select-Object * | Out-Gridview

    Categories: No Category Tags: PowerShell

    PowerShell: Create a temporary filename

    April 24th, 2010 christian No comments

    Thanks to Get-Date, you can easily create unique temporary file names with a timestamp:

    (Get-Date -format ‘yyyy-MM-dd hh-mm-ss’) + ‘.tmp’

    Categories: No Category Tags: PowerShell

    PowerShell: Generate PC Lists using Foreach-Object and -f Operator

    April 24th, 2010 christian No comments

    Generate PC Lists

    One easy way of creating lists of PC names or IP address ranges etc is a simple pipeline like this:

    1..40 | Foreach-Object { ‘PC-W7-A{0:000}’ -f $_ }

    Use the -f operator to format the number. In this example, it will always be three-digit.

    Categories: PowerShell Tags: PowerShell

    PowerShell: Sort-Object

    April 24th, 2010 christian No comments

    You can use Sort-Object to sort simple variable types. Have a look at the following:

    ‘Tom’, ‘Chris’, ‘Judy’, ‘Alan’ | Sort-Object

    Input can come from a different command. If you’d like to get seven random lottery numbers, you should try this:

    1..49 | Get-Random -Count 7 | Sort-Object

    You’ll find that when you feed complex objects into Sort-Object, you should specify the object property you want to sort on (or else Sort-Object will pick one by itself):

    Get-ChildItem $env:windir | Sort-Object Length

    Here are some more examples:

    Get-HotFix | Sort-Object InstalledOn

    Get-ComputerRestorePoint | Sort-Object Description

    Categories: PowerShell Tags: PowerShell
    WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera