Author Archives: Ahmet

About Ahmet

Husband and father of two, Swiss relocated in Seattle, WA. Program Manager in Bing Ads. Views and opinions expressed are mine.

How to change a service startup type with PowerShell

Changing a service startup type can be crucial after installing or configuring the service. PowerShell comes with an easy way to do so: Set-Service –Name theservice –Computer thecomputer –StartupType “selectedType” Where selectedType value can be: Automatic Manual Disabled Unfortunately, there is no support for the automatic (delayed start). To support the automatic (delayed start), you… Read More »

How to start or stop a remote service with PowerShell

An easy trick but often helpful in need of automation. I recently noticed that it was not possible to do: Start-Service –Name theservice –Computer thecomputer Instead we have to follow this rather ugly way: (Get-WmiObject -computerName thecomputer Win32_Service -Filter “Name=’theservice'”).StartService() To stop the service, same idea: (Get-WmiObject -computerName thecomputer Win32_Service -Filter “Name=’theservice'”).StopService()   0 Kudos… Read More »

Composition of a specification

This post is a continuation of my series extracted from Scott Berkun’s book: How to make things happen. In this series, I have already shared my thought and diagrams about making decision, building trust, dealing with crisis, schedules, and about not to annoy people. Today’s diagram is about the composition of a specification. A specification… Read More »

How not to annoy people: emails, processes, and meetings

This post is a continuation of my series extracted from Scott Berkun’s book: How to make things happen. In this series, I have already shared my thought and diagrams about making decision, building trust, dealing with crisis, and about schedules. I believe all point are pretty straight forward to understand on this topic. My key… Read More »

Schedules – impact on the team and on the project

This post is a continuation of my series extracted from Scott Berkun’s book: How to make things happen. In this series, I have already shared my thought and diagrams about making decision, about building trust, and about dealing with crisis. Below diagram is about schedules (not your personal schedule but a team schedule). The interesting… Read More »

Windows Azure – Virtual server – Enable TCP connection (open the door to Internet traffic)

I finally created an account for Windows Azure, it is quite easy to do so and the cost are very affordable (if you have a MSDN premium subscription as each Microsoft employee does :)). I never really had the opportunity learning in-depth IIS and ASP.net so now that I have this server available, I am starting! The… Read More »

Creating a Powershell session under a different set of credentials

Below code can be handy if you need to create a powershell session under a different credential than the one you are logged into. This allow to support multiple scenarios: Test role base access control Increase privilege for important operation [powershell] # Avoid displaying the UI prompt when creating credential object Set-ItemProperty ‘HKLM:\SOFTWARE\Microsoft\PowerShell\1\ShellIds’ ConsolePrompting $true… Read More »

One year anniversary in Seattle

1 year already that we (my family and I) moved to the Pacific Northwest area, specifically in Seattle area (we are actually in a suburban neighborhood called Kirkland). The adaptation to this new place is going smoothly, the mentality is quite similar to the one we were used to in Switzerland but friendlier so we… Read More »