Managing Services with PowerShell and ADSI

In PowerShell v1.0, if you want to manage services on a remote computer, you likely used WMI and the Get-WMIObject cmdlet. But there is another solution using ADSI. If you use the WinNT provider, you can access all of the services on a remote machine in much the same way you would manage local users and groups. Let me show you.

Read More

Scripting Essentials

I wanted to make sure everybody knew about another site in the ScriptingAnswers.com family. We have another area we refer to as our Essentials site. Here we gather tips, best practices, sample scripts and more. Coverage includes not only PowerShell but VBScript as well. This is also where you’ll find conference slide decks and demo […]

Read More

PowerShell Hurdles

In my recent interview on the PowerScripting Podcast, one of the excellent questions was “What are the 5 misconceptions or hurdles people have when they start learning PowerShell?” I thought the question merited a longer reply, and of course these are my opinions.

Read More

I am Ironman

I’m afraid a dangerous precedent has been set last night on the PowerScripting Podcast. I had a great time with Hal and Jonathon but there was a super hero question and I’m afraid I’ve started something I won’t be able to control.

Read More

Techmentor NYC Wrap Up

Sorry you didn’t make it to the Big Apple for the last Techmentor conference. It was a small and intimate show which I always like because it is easier to talk with attendees and answer questions. Plus your odds are increased for all the freebies, include free books!

Here’s a taste of what you missed.

Read More

Get-OtherDate

PowerShell’s [DATETIME] object has some handy methods for calculating a date such as AddDays(). Let me show you how as well as my own function for those situations where PowerShell’s methods just aren’t enough.

Read More

Proofing the Proof

I just got the proof from the printer for Managing Active Directory with Windows PowerShell: TFM. It always exciting to hold a finished (or close to finished) book.  As soon as we check the proof and give the ok to the printer, books will be available.  We’re trying to get this turned around as soon […]

Read More

Powershell vs T-SQL

If you’ve been debating the pros and cons of PowerShell vs T-SQL, or trying to decide why anyone would want to use PowerShelll to manage SQL server when it already has a great management language, take a look at http://blogs.msdn.com/dtjones/archive/2008/08/29/powershell-vs-t-sql-or-why-did-we-add-powershell-support-in-sql2k8.aspx.  Good stuff. Clear and to the point.

Read More

PowerShell Boot Camp Winter 08/09

Our PowerShell boot camp was very successful and popular. Registration was limited so we’d like to set up a class for some time this Winter, most likely in the Jan-Feb timeframe. Locations have been narrowed down although no dates have been finalized. You should see a poll on the blog starting today where you can […]

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard