4. In Version 1.0 In version 1.0, the only command available with –ComputerName was Get-WMIObject This made managing a remote PC complicated.
5. New in V2! Some cmdlets were updated with the –ComputerName parameter. Get-Process Get-Service GetWinEvent GetEventLog Restart-Computer Stop-Computer Test-Connection
6. New in V2! Cont…. Remote console via PS Sessions. Kinda like SSH but much cooler (since it is PowerShell) You can run ANY command on the remote PC. Can run interactively or via jobs
8. What you need Windows 7 and Windows Server 2008 R2 has the necessary bits Windows Vista, XP, Server 2003 and Server 2008 you will need the Windows Management Framework Windows PowerShell 2.0, Windows Remote Management (WinRM) 2.0, and Background Intelligent Transfer Service (BITS) 4.0
9. What version am I using? To check your PowerShell version, use the variable $PSVersionTable
10. Things to remember beforehand You MUST be in the Administrators group on the remote PC. Both the remote and local computers must be configured to use remoting. You must have PowerShell and the related bits installed on all machines
11. Things to remember Cont… On current versions of windows. The network type must be work or home. Public will not work. Any policies, ie group policies, on the remote pc are in effect in remote PowerShell sessions. Keep that in mind if something isn’t working as expected.
16. Enabling PowerShell Remoting Remember to be an Administrator! Open a PowerShell Prompt on the machine and type Enable-PSRemoting.
17. What is it doing? Runs the Set-WSManQuickConfigcmdlet, which performs the following tasks: Starts the WinRM service. Sets the startup type on the WinRM service to Automatic. Creates a listener to accept requests on any IP address. Enables a firewall exception for WS-Management communications. Enables all registered Windows PowerShell session configurations to receive instructions from a remote computer. Registers the "Microsoft.PowerShell" session configuration, if it is not already registered. Registers the "Microsoft.PowerShell32" session configuration on 64-bit computers, if it is not already registered. Removes the "Deny Everyone" setting from the security descriptor for all the registered session configurations. Restarts the WinRM service to make the preceding changes effective.
18. Running x64? On x64 hardware, a 32-bit listener is installed.