Displaying 1 result from an estimated 1 matches for "ntuninstall".
Did you mean:
_uninstall
2012 Jun 20
5
puppet windows exec successful but not really
...llowing in my manifest to delete old uninstall directories and
logs
using exec since we don''t have tidy for windows yet
{code}
exec { ''CleanupOldUninstallDirs'':
command => ''C:\Windows\system32\forfiles.exe -p "C:\Windows" -m
"$NtUninstall*" -d -65 -c "cmd /c dev /F /S /Q @path"'',
}
exec { ''CleanupOldPatchLogs'':
command => ''C:\Windows\system32\forfiles.exe -p "C:\Windows" -m
"KB*.log" -d -365 -c "cmd /c dev /F /S /Q @path"...