Enabling Remote PowerShell

This article is about PowerShell and the tasks I use it for.

Enable remote PowerShell:

psexec \\computername -s powershell Enable-PSRemoting -Force

Enable Remote Registry

C:\WINDOWS\system32>sc config remoteregistry start=auto

[SC] ChangeServiceConfig SUCCESS

C:\WINDOWS\system32>sc start remoteregistry

SERVICE_NAME: remoteregistry

        TYPE               : 30  WIN32

        STATE              : 2  START_PENDING

                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)

        WIN32_EXIT_CODE    : 0  (0x0)

        SERVICE_EXIT_CODE  : 0  (0x0)

        CHECKPOINT         : 0x0

        WAIT_HINT          : 0x7d0

        PID                : 8148

        FLAGS              :