This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:CHEQUEASERVER | |
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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ConvertFrom-DockerPS { | |
<# | |
.SYNOPSIS | |
Parses docker ps output to make it more readable | |
.DESCRIPTION | |
Pipe the results of Docker ps to this function and get the results in a nice, more powershelly format | |
.PARAMETER | |
OlderNewer