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

Backup Exec: VSS Snapshot warning. File <path> is not present on the snapshot.

February 25th, 2010 christian No comments
Ok, i have/had this exception in five different Backup Exec installations. It’s not an error, it’s just a exception/notification that one setup (most often a driver installation) registered a file for the VSS (Volume Shadow Service) to backup. Logo_SymantecBackupExec

Read more…

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…

CMD: Merge splitted files using copy command

February 19th, 2010 christian No comments
Need to merge two files like, let’s say Textfile1.txt and Textfile2.txt into one single file? Easy, just use the old copy command to achieve this. Logo_cmd

Read more…

Categories: CMD / Batch, Microsoft, Tips n'Tricks Tags:

PowerShell: Remote Access Without Admin Privileges

January 29th, 2010 christian No comments
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. Logo_PowerShell

Read more…

Categories: Microsoft, PowerShell Tags: