As you may know, the default Disk Defragmenter utility built into the Server 2008 interface allows you to schedule a task for defragmenting disks. However, the catch is that you can only create one scheduled task item using this interface. This would work fine if you have less than a few drives that are not
PowerShell - Free Trainings from Microsoft Virtual Academy Update: Getting Started with PowerShell 3.0 and Advanced Tools & Scripting with PowerShell 3.0 recorded videos are now available on Microsoft Virtual Academy. Links below. I get a lot of questions from my friends and coworkers about PowerShell ... "Hey FX, How can i get all the process that start
I found these from another site: http://www.lazywinadmin.com/p/links.html SYSADMIN ARSENAL SysAdmin Tools SYDI - Network Documentation made easy (VBS script) SYDI-Server v.2.3 Server is a tool for documenting Windows computers vCheck - is a PowerShell HTML framework script, the script is designed to run as a scheduled task before you get into the office to present you with key information
Restart-Computer [computer-name] Don't include the brackets in the computer name area above.
$service = "Service-to-be-stopped" $computer = "computername-laptop" (Get-WmiObject -computerName $computer Win32_Service -Filter "Name='$service'").StopService() (Get-WmiObject -computerName $computer Win32_Service -Filter "Name='$service'").ChangeStartMode("Disabled") (Get-WmiObject -computerName $computer Win32_Service -Filter "Name='$service'")