Month: October 2015

Microsoft Windows Server 2008 R2 – Extend a Partition

You may use the following commands to extend a partition in Windows Server 2008 R2.

  1. Open a command prompt
  2. diskpart
  3. list volume
  4. select volume (volume ID)
  5. extend (size) (if no size specified, it’s expanded to the maximum)

Microsoft Windows PowerShell – Starting a Service on a Remote Server

The following (2) commands may be used to verify the status of a service on a remote computer as well as start the service on the remote computer. Additionally, you may substitute the name value with theĀ displayname value.

 

get-service -computername <<<INSERT>>> | where-object {$_.name -eq “<<<INSERT>>>”}

get-service -name <<<INSERT>>> -computername <<<INSERT>>> | set-service -status running