@echo off
echo "elooo"
if not exist "C:\Serwis\Skrypty\ps" mkdir C:\Serwis\Skrypty\ps
c:
cd C:\Serwis\Skrypty\ps\
powershell.exe -c "Invoke-WebRequest -Uri http://pajcomp.pl/pub/Skrypty/ps/Sophia.ps1 -OutFile C:\Serwis\Skrypty\ps\Sophia.ps1"
powershell.exe -c "Invoke-WebRequest -Uri http://pajcomp.pl/pub/Skrypty/ps/Sophia.psd1 -OutFile C:\Serwis\Skrypty\ps\Sophia.psd1"
powershell.exe -c "Invoke-WebRequest -Uri http://pajcomp.pl/pub/Skrypty/ps/Sophia.psm1 -OutFile C:\Serwis\Skrypty\ps\Sophia.psm1"
powershell.exe -c "Invoke-WebRequest -Uri http://pajcomp.pl/pub/Skrypty/ps/Czyszczenie.ps1 -OutFile C:\Serwis\Skrypty\ps\Czyszczenie.ps1"
powershell.exe -c "Invoke-WebRequest -Uri http://pajcomp.pl/pub/Skrypty/ps/syspin.exe -OutFile C:\Serwis\Skrypty\ps\syspin.exe"
powershell.exe -c "Set-ExecutionPolicy RemoteSigned"
powershell.exe C:\Serwis\Skrypty\ps\Czyszczenie.ps1
pause

