Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Can I Create Microsoft Access Reports of Stopped Services?

(Portions of this article previously appeared in the Microsoft Press book, Windows PowerShell Scripting Guide.)<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> Hey, Scripting Guy! I am interested in collecting information about processes that are stopped on my systems. I would like to write the ...

Hey, Scripting Guy! Can I Create Microsoft Access Reports of Running Services?

(Portions of this article previously appeared in the Microsoft Press book, Windows PowerShell Scripting Guide.) Hey, Scripting Guy! I would like to be able to write a listing of the services that are running to a Microsoft Access database. I would then be able to use the report writer from Microsoft Access to produce some nice ...

Hey, Scripting Guy! Can I Use Windows PowerShell to Find the Status of Services on My Computer?

(Portions of this article previously appeared in the Microsoft Press book, Windows PowerShell Scripting Guide.) Hey, Scripting Guy! I would like to use Windows PowerShell to obtain information about the status of services that are configured on my computer. Do you have any hints you could share? -- LB Hello LB, Microsoft Scripting ...

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/25/09)

Can I Find Out Who Has Access to a Group of Files and Folders? Hey, Scripting Guy!  For security reasons I need to find out who has access to a certain group of files and folders. Using the Get-Acl cmdlet, I can get a list of which IDs and groups have which kinds of access to the target files and folders. I would also like to list ...

Hey, Scripting Guy! Can I “Unlock” a Read-Only File, Edit it, and Make It Read-Only Again?

Hey, Scripting Guy! We have a number of files that we need to access at work from time to time. To protect these files, we make them read-only. This works great from a file protection standpoint, but it is really annoying when I need to make updates to the file because about half the time I will open a file, make the edits, and forget to clear...