A useful little tool is smtp4dev. It sits in the system tray and does not deliver messages you send to it. The messages in the queue can then be viewed, saved and checked out for structure or layout problems. Very handy should your dev machine not have rights to use a real SMTP server and [&hellip
Read More…
Have you ever inherited a project in Team Foundation Server (TFS) and struggled getting full access to the SharePoint project portal? It took me a few hours to figure out why I didn’t have full access to the project. I had admin access on the local TFS server and thought I’d just have to log [&hellip
Read More…
If you want to display a dialog box / MessageBox from PowerShell rather than spitting out console text try this function: function Show-MsgBox { param ( [Parameter(Mandatory=$true)] [String]$Text, [String]$Title = 'Message', [String] $Icon = 'YesNo,Information' ) Add-Type -AssemblyName 'Microsoft.VisualBasic' [Microsoft.VisualBasic.Interaction]::MsgBox($text, $icon, $title) } Show-MsgBox -Text 'Reboot system?' -Title 'Warning' -Icon 'YesNoCancel,Question' $result = Show-MsgBox -Text [&hellip
Read More…
Unfortunately, the Start-Process cmdlet has no -ComputerName parameter so you cannot use it to launch processes remotely on other machines on your network. Use WMI instead! This line will run mspaint.exe on your local machine: PS> (Invoke-WmiMethod Win32_Process Create mspaint.exe).ReturnValue -eq 0 True And this slight adaption will run mspaint.exe on a computer named “PC1″ [&hellip
Read More…
Here are some free WPF utilities: Kaxaml Kaxaml is a great tool for quick experimentation with snippets of XAML. The editor has intellisense, and the app itself is gorgeous to look at. Written By Robert Ingebretsen you can download the source from codeplex. Shazzam Based on the code for Kaxaml this is a nifty app [&hellip
Read More…
Code example was taken from MSDN Library The following example demonstrates how to use the DefaultIfEmpty method on the results of a group join to perform a left outer join. class Person { public string FirstName { get; set; } public string LastName { get; set; } } class Pet { public string Name { [&hellip
Read More…
Did you know that PowerShell can turn text to audio? All you need is some text or text file. You can then turn the text into spoken language, convert it to a WAV file and play it back or send it to someone. Here’s how: $Path = "$env:temp\file.wav" Add-Type -AssemblyName System.Speech $synthesizer = New-Object -TypeName [&hellip
Read More…