Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (4/2/10)

!-->!--> In this post:   How Can I Get a List of Active Directory Groups in the Local Domain and All the Users Across the Whole Forest? Hey, Scripting Guy! We need to query Active Directory (AD) and populate customer permissions tables in SQL Server. We only assign login rights to groups, so what we need from AD ...

How Can I Tell Whether a Laptop Computer is Running Off Batteries?

Hey, Scripting Guy! How can I tell whether a laptop computer is running off batteries?-- TJ Hey, TJ. Ah, yes: batteries. Back in December the Scripting House lost power for six days. Was the Scripting Guy who writes this column concerned? Of course not. After all, he was fully prepared for an emergency like that: he had four (count ‘em: ...

Feedback usabilla icon