Start/Stop Managed Metadata Service
#list of services
Get-SPServiceInstance -Server PAC-SP2010 | sort TypeName | Format-Table -AutoSize
#stop managed metadata service
Get-SPServiceInstance -Server PAC-SP2010 | where-object {$_.TypeName -eq "Managed Metadata Web Service" } | Stop-SPServiceInstance -Confirm:$false
#start managed metadata service
Get-SPServiceInGet-SPServiceInstance -Server PAC-SP2010 | where-object {$_.TypeName -eq "Managed Metadata Web Service" } | Start-SPServiceInstance -Confirm:$falsestance -Server PAC-SP2010 | where-object {$_.TypeName -eq "Managed Metadata Web Service" } | Start-SPServiceInstance -Confirm:$false