Install all RSAT tools with PowerShell

The Remote Server Administration Tools are available from the base Windows Server installation without the need to install the roles it supports. If you want to set up a management server to administer all of your Windows infrastructure form a single console you can install all of them with a single PowerShell line. Get-WindowsFeature RSAT* … Read more

Reference for Windows commands with examples

Below is the list of commands that can be run from windows command prompt (CMD). Thanks to the folks who organized all of this at http://www.windows-commandline.com/windows-at-command-examples At: Schedule tasks Attrib: Set file attributes Bootcfg: Enable kernel debugging copy: Copy files Compact: Compress or decompress files and directories Convert: Convert FAT filesystem to NTFS Date: Set system date … Read more

PowerShell – Free Trainings from Microsoft Virtual Academy

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 … Read more

SysAdmin Arsenal

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 … Read more

Using Powershell to stop services on remote computers

$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’”)