Your Vote and Comments count

I like seeing all the votes for our short PowerShell production poll. Over 100 responses and still overwhelmingly more of you are using PowerShell in production. If you aren’t, I hope you’ll vote and leave a comment why on the original post so that the discussion will be in one location.

Read More

PowerScripting Podcast Roundtable

This week, Alex Riedel and SAPIEN alumus Don Jones will sit down (virtually speaking) at a roundtable discussion on the PowerScripting Podcast. They will be joined by PowerShell architect Jeffrey Snover, and PowerShell MVP Kirk Munro. Scheduled topics include: A Thousand Things 1% Better What’s most important for a posh newbie to learn? Script vs. […]

Read More

PowerShell Boot Camp Coming to Dallas

This summer we ran a PowerShell Boot Camp that was very popular and successful. People have been asking when we’re going to hold another one. Your question has been answered. I will be doing the boot camp in Dallas, TX February 9-11, 2009. Now before you get too excited, be warned that this is not your typical instructor led training.

Read More

Congratulations Hal Rottenberg

It’s that time of year again when Microsoft announces its newest MVPs. I’m happy to report that Hal Rottenberg has finally received this honor. Not only does Hal hold down a pretty serious day job, he is co-host of the popular PowerScripting Podcast and the community director for PowerShellCommunity.org.  You can also find Hal on […]

Read More

More fun with services, PowerShell and ADSI

The other day I showed you how to use ADSI and PowerShell to manage services on remote computers. Since the ADSI type adapter is admittedly “kludgy” at times, I put together a script that you could use like a cmdlet to retrieve service information via ADSI.

Read More

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

New ActiveXPosh version

A new version of ActiveXPosh was uploaded to our server. You can download it from http://www.primalscript.com/Free_Tools/index.asp Aside from some minor fixes, it includes a new method on the interface called ‘GetValue’. With that function you can easily get the string value of some variable or property without going through the output buffer. An example would […]

Read More

A Thousand Things 1% Better

That was the title of a recent blog post by Jeffery Snover on the PowerShell team blog. I recently had the privilege of sitting down with Jeffery Snover and the PowerShell team and just talk about bits and pieces in PowerShell and PrimalScript. One question I was asked was what I would think the PowerShell […]

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

WBEMTest Demo

If you’ve sat in on any of my WMI related classes or conference sessions, I know you’ve heard me talk about using WBEMTest to test WMI connectivity and your WMI queries. WBEMTest has been around as part of Microsoft operating systems for a long time but many administrators have never heard of it. If you are troubleshooting a WMI related script this is the first place you should go, especially when troubleshooting remote server connections and alternate credentials. If you can’t authenticate to the server using WBEMTest, your script is likely to fail as well. Usually if there is a connection error, the error message should lead you in the right direction.

You should also use WBEMTest to test and refine your query. Once you know it works, then copy and paste it into your script (VBScript or PowerShell or anything else for that matter). If you script still has a problem, it is likely not your WMI query because you’ve already verified it works.

I put together a short video demo on how to use WBEMTest. To start it, click Start – Run and type WBEMTEST. The video shows you the rest.

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