Showing tag results for Windows PowerShell

Apr 8, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Check the Size of My Event Log and Then Backup and Archive It If It Is More Than Half Full?

ScriptingGuy1

Hey, Scripting Guy! We have recently enabled additional security auditing on our network, and I do not want to increase the size of those logs due to the fact that they are already huge. I do not want to turn on circular logging because I need to keep an audit trail for compliance reasons. I need to write a script that I use to check the size of ...

Scripting Guy!Windows PowerShellLogs and monitoring
Apr 7, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Query Event Logs to Discover Active Directory Information?

ScriptingGuy1

Hey, Scripting Guy! We have this problem at work. I keep finding groups in Active Directory, and I do not know why they were created or by whom. I am wondering if there is some way to search Active Directory to see who created a group. Is there an owner attribute or something that would let me know who created it? If I can find that, I could at l...

Scripting Guy!Windows PowerShellLogs and monitoring
Apr 6, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Check My Event Logs?

ScriptingGuy1

Hey, Scripting Guy! When I received my Microsoft Certified Systems Engineer (MCSE) certification several years ago, I remember the instructor jumping up and down and telling us that we were not doing our job if we do not check the event logs on a daily basis. When I got my first job as a network administrator, I did a pretty good job checking, bu...

Scripting Guy!Windows PowerShellLogs and monitoring
Apr 4, 2009
Post comments count0
Post likes count0

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

ScriptingGuy1

Troubleshooting the Application of Two WMI Classes   Hey, Scripting Guy! The examples produced from the "Scriptomatic Version 2.0 by The Microsoft Scripting Guys" for the entries Win32_ServiceSpecification and Win32_ServiceControl both return error 0x80041002 under Windows Server 2003. I can't find another WMI class that exposes the recovery ...

Windows PowerShellWMIActiveX Data Objects (ADO)
Apr 2, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Run a Script When My Computer Is Idle?

ScriptingGuy1

Hey, Scripting Guy! I need to be able to run a script when my computer is idle. But only when it is idle. I have looked in WMI and everywhere else and cannot find anything that will detect when the computer is idle. Can you tell me how to do it?- NM Hi NM, You know, our computers are busy plotting against us every minute of the day. Of this we a...

Scripting Guy!Windows PowerShelloperating system