Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Clear-Host
- if ($psise) {
- $ScriptDirectory = Split-Path $psise.CurrentFile.FullPath
- } else {
- $ScriptDirectory = $PSScriptRoot
- }
- Write-Host "ScriptDirectory: $ScriptDirectory" -ForegroundColor Cyan
- $OSDUpdateRepository = (Get-Item $ScriptDirectory).Parent.FullName
- Write-Host "OSDUpdateRepository: $OSDUpdateRepository" -ForegroundColor Cyan
- #Office
- Get-DownOSDUpdate -CatalogOffice "Office 2010 32-Bit" -OfficeProfile Default -RepositoryRootPath "$OSDUpdateRepository" -RemoveSuperseded
- Get-DownOSDUpdate -CatalogOffice "Office 2013 32-Bit" -OfficeProfile Default -RepositoryRootPath "$OSDUpdateRepository" -RemoveSuperseded
- Get-DownOSDUpdate -CatalogOffice "Office 2016 32-Bit" -OfficeProfile Default -RepositoryRootPath "$OSDUpdateRepository" -RemoveSuperseded
- #Windows 10
- Get-DownOSDUpdate -CatalogWindows "Windows 10" -RepositoryRootPath "$OSDUpdateRepository" -RemoveSuperseded -UpdateArch x64 -UpdateBuild 1803
- Get-DownOSDUpdate -CatalogWindows "Windows 10" -RepositoryRootPath "$OSDUpdateRepository" -RemoveSuperseded -UpdateArch x64 -UpdateBuild 1809
- #Windows 7
- Get-DownOSDUpdate -CatalogWindows "Windows 7" -RepositoryRootPath "$OSDUpdateRepository" -RemoveSuperseded -AddInstallScript
- #McAfee
- Get-DownMcAfee -Download "SuperDAT v2" -DownloadPath "$OSDUpdateRepository\McAfee" -RenameDAT
- # Windows Defender
- Get-DownDefender -OS "Windows V-7" -OSArch 32-Bit -DownloadPath "$OSDUpdateRepository\Windows Defender"
- Get-DownDefender -OS "Windows V-7" -OSArch 64-Bit -DownloadPath "$OSDUpdateRepository\Windows Defender"
- Get-DownDefender -OS "Windows 8-10" -OSArch 32-Bit -DownloadPath "$OSDUpdateRepository\Windows Defender"
- Get-DownDefender -OS "Windows 8-10" -OSArch 64-Bit -DownloadPath "$OSDUpdateRepository\Windows Defender"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement