Skip to content

Instantly share code, notes, and snippets.


Lucas Camilo lukecamilo

View GitHub Profile
REM Se fija que sea windows XP, Vista, 7 u 8.
REM Si no es, no instala
systeminfo | find "Microsoft Windows" > %TEMP%\osname.txt
FOR /F "usebackq delims=: tokens=2" %%i IN (%TEMP%\osname.txt) DO set vers=%%i
echo %vers% | find "Windows 7" > nul
if %ERRORLEVEL% == 0 goto SIGUE
View ConvertFrom-DockerPS.ps1
function ConvertFrom-DockerPS {
Parses docker ps output to make it more readable
Pipe the results of Docker ps to this function and get the results in a nice, more powershelly format