├── Dockerfile └── README.md /Dockerfile: -------------------------------------------------------------------------------- 1 | # From Microsoft's official Centos-7 image 2 | FROM mcr.microsoft.com/powershell:centos-7 3 | 4 | # Obligatory update 5 | RUN yum update -y 6 | 7 | # Required for gssntlmssp 8 | RUN yum install -y epel-release 9 | 10 | # Update now that we have epel-release 11 | RUN yum update -y 12 | 13 | # Install libraries for NTLM support 14 | RUN yum install -y gssntlmssp 15 | 16 | # Launch PowerShell 17 | ENTRYPOINT ["/usr/bin/pwsh"] 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PowerShell-NTLM 2 | Docker image of PowerShell with NTLM support to allow for PS-Remoting from Linux to Windows 3 | 4 | Docker command: ```docker run -it quickbreach/powershell-ntlm``` 5 | 6 | Read more here https://blog.quickbreach.io/ps-remote-from-linux-to-windows/ 7 | 8 | --------------------------------------------------------------------------------