Archive

Archive for the ‘Microsoft’ Category

Microsoft Exchange 2007 / 2010 – Statistics using Exchange Management Shell (EMS)

March 14th, 2010 christian No comments
Using Microsoft Exchange 2007 / 2010 Management Shell (PowerShell with extensions), you can pull out some very exciting statistics. That was never that easy in the pre Exchange 2007 era. Logo_ExchangeSvr

Read more…

PowerShell: Creating large dummy files with .NET

March 13th, 2010 christian No comments
Ok, this one’s is cool i think. Whenever i needed a large dummy file, i opened up notepad, write ASDFASDFASDFA CTRL-A, CTRL-C, CTRL-V,CTRL-V,CTRL-V,CTRL-V. CTRL-A, CTRL-C, CTRL-V,CTRL-V,CTRL-V,CTRL-V,CTRL-V.. Then i saved the file, opened up a CMD-Shell and wrote copy dummyFile.txt+dummyFile.txt+dummyFile.txt until the file was large enough.. ok, there’s fsutil.exe which does the same in a much more efficient manner.. OR, unleash the Power of .NET – no, you don’t have to start programming using Visual Studio, just open up PowerShell.. Logo_PowerShell

Read more…

Categories: PowerShell Tags:

WCF: Configuring HTTP / HTTPS to host a System.ServiceModel WCF Service

March 11th, 2010 christian No comments
Using Windows Communication Foundation (WCF) over HTTP either requires the use of a host, such as Internet Information Services (IIS), or manual configuration of the HTTP settings through the HTTP Server API. This post describes how to manually configure WCF when using HTTP and HTTPS. Logo_WCF

Read more…

PowerShell: Running PowerShell Scripts as Scheduled Task

March 10th, 2010 christian No comments
Schtasks.exe – Enables an administrator to create, delete, query, change, run, and end scheduled tasks on a local or remote computer. Running Schtasks.exe without arguments displays the status and next run time for each registered task.

If you have jobs that need to execute regularly, you can manage them with a PowerShell script and make it a scheduled task:

Logo_PowerShell

Read more…

Categories: PowerShell Tags: ,

Excel 2010: PowerPivot

February 25th, 2010 christian No comments
Microsoft PowerPivot for Excel 2010, formerly known as Project "Gemini", is a data analysis add-in that delivers unmatched computational power directly withing Microsoft Excel 2010 Logo_Excel_2010

Read more…

Categories: Office, Office 2010 Tags: ,

Windows Server 2008 R2: Features Poster

February 23rd, 2010 christian No comments
This poster provides a visual reference for understanding key technologies in Windows Server 2008 R2. It focuses on Active Directory Domain Services, Hyper-V, Internet Information Services, Remote Desktop Services (including Virtual Desktop Infrastructure (VDI)), BranchCache, and DirectAccess technologies. Logo_Windows-Server_2008R2

Read more…

WCF Service: Adding a reference results in: System.BadImageFormatException

February 20th, 2010 christian No comments
I have a Solution with a WCF Service Project, a few Classes in projects and a Winform Project. When trying to add a Service Reference from within the Winform Project i always got the Microsoft WCF Service Host – ‘System.BadImageFormatException: Could not load file or assembly ‘file’.. Logo Microsoft Visual Studio

Read more…

VS.NET: Add Service Reference, Discover Service does not work

February 20th, 2010 christian No comments
Trying to add a Service Reference in Visual Studio using the Discover Services in Solution and the Wizard can’t find the Service in the Solution? Logo Microsoft Visual Studio

Read more…

VS.NET: Visual Studio 2010 Extension Manager

February 20th, 2010 christian No comments
One of the powerful aspect of Visual Studio is its ability to be extended and many people do that. You can find numerous extensions at the Visual Studio Gallery. The VSX team links to a 4-part blog series on how to create and share templates. You can also look find extension examples on the vsx code gallery. Logo Microsoft Visual Studio

Read more…

Categories: Visual Studio, Visual Studio 2010 Tags:

PowerShell: Delete specific files recursively / recursive

February 19th, 2010 christian No comments
Okay, this post I’m going to write down for my personal notes but also for you..
Ever needed to delete a specific file, in my case in need to delete (remove-item) all *.pdb files in one of my Visual Studio Solution.. recursive of course.
To get a list of Files use the Get-ChildItem CmdLet. Extend that command using the –rec or –recurse parameter – so you’ll get all the files recursively, starting from the current path / directory.
Logo_PowerShell

Read more…