q66262 发表于 2018-9-2 09:12:24

Use PowerShell Invoke-Command for Remoting

  1:Get-Servicewinrm | fl(To ensure this service is running as below)

  we can user group policy to batch enable this service

  2:Allow the service through Windows Firewall

  3:Allow remote server management through WinRM

  4:now we can Invoke command from remote serveras below

  Reference article as below
  http://www.public.madeinengland.co.nz/how-to-remotely-add-features-to-many-windows-2008-r2-servers-using-powershell/
  https://blogs.technet.microsoft.com/heyscriptingguy/2011/06/13/use-powershell-invoke-command-for-remoting/
  one of the most important things is to read about_concept.
  1: update-help
  2: help about_concept

  Have a nice day!

页: [1]
查看完整版本: Use PowerShell Invoke-Command for Remoting