Use Classic Remoting

With classic remoting, there is no Windows PowerShell–specific technology in use. Rather, each cmdlet that is capable of communicating with remote computers implements its own mechanism, which is usually RPC-or DCOM-based.

We can get a list of the cmdlets that support the ability to work with remote computers natively by using the Get-Command cmdlet:

Get-Command -CommandType Cmdlet | where {
  $_.Name -notlike “*WSMan*” -and `
  $_.Parameters.Keys -contains “ComputerName” -and `
  $_.Parameters.Keys -notcontains “Session”}

In the previous example, we retrieve all cmdlets that provide the -ComputerName parameter, and additionally, we exclude those cmdlets that are specific to Windows PowerShell Remoting by filtering out cmdlets ...

Get Automating Microsoft® SharePoint® 2010 Administration with Windows PowerShell® 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.