1"use strict";(self.webpackChunkpsappdeploytoolkit_website=self.webpackChunkpsappdeploytoolkit_website||[]).push([["25546"],{27559(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>p,frontMatter:()=>o,contentTitle:()=>l,toc:()=>d,assets:()=>r});var s=JSON.parse('{"id":"reference/functions/Install-ADTSCCMSoftwareUpdates","title":"Install-ADTSCCMSoftwareUpdates","description":"SYNOPSIS","source":"@site/versioned_docs/version-4.0.x/reference/functions/Install-ADTSCCMSoftwareUpdates.mdx","sourceDirName":"reference/functions","slug":"/reference/functions/Install-ADTSCCMSoftwareUpdates","permalink":"/docs/4.0.x/reference/functions/Install-ADTSCCMSoftwareUpdates","draft":false,"unlisted":false,"tags":[],"version":"4.0.x","frontMatter":{"id":"Install-ADTSCCMSoftwareUpdates","title":"Install-ADTSCCMSoftwareUpdates","hide_title":false,"hide_table_of_contents":false},"sidebar":"reference","previous":{"title":"Install-ADTMSUpdates","permalink":"/docs/4.0.x/reference/functions/Install-ADTMSUpdates"},"next":{"title":"Invoke-ADTAllUsersRegistryAction","permalink":"/docs/4.0.x/reference/functions/Invoke-ADTAllUsersRegistryAction"}}'),i=t(91987),a=t(67008);let o={id:"Install-ADTSCCMSoftwareUpdates",title:"Install-ADTSCCMSoftwareUpdates",hide_title:!1,hide_table_of_contents:!1},l,r={},d=[{value:"SYNOPSIS",id:"synopsis",level:2},{value:"SYNTAX",id:"syntax",level:2},{value:"DESCRIPTION",id:"description",level:2},{value:"EXAMPLES",id:"examples",level:2},{value:"EXAMPLE 1",id:"example-1",level:3},{value:"PARAMETERS",id:"parameters",level:2},{value:"-SoftwareUpdatesScanWaitInSeconds",id:"-softwareupdatesscanwaitinseconds",level:3},{value:"-WaitForPendingUpdatesTimeout",id:"-waitforpendingupdatestimeout",level:3},{value:"CommonParameters",id:"commonparameters",level:3},{value:"INPUTS",id:"inputs",level:2},{value:"None",id:"none",level:3},{value:"You cannot pipe objects to this function.",id:"you-cannot-pipe-objects-to-this-function",level:3},{value:"OUTPUTS",id:"outputs",level:2},{value:"None",id:"none-1",level:3},{value:"This function does not return any objects.",id:"this-function-does-not-return-any-objects",level:3},{value:"NOTES",id:"notes",level:2},{value:"RELATED LINKS",id:"related-links",level:2}];function c(e){let n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h2,{id:"synopsis",children:"SYNOPSIS"}),"\n",(0,i.jsx)(n.p,{children:"Scans for outstanding SCCM updates to be installed and installs the pending updates."}),"\n",(0,i.jsx)(n.h2,{id:"syntax",children:"SYNTAX"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-powershell",children:"Install-ADTSCCMSoftwareUpdates [[-SoftwareUpdatesScanWaitInSeconds] <Int32>]\n [[-WaitForPendingUpdatesTimeout] <TimeSpan>] [<CommonParameters>]\n"})}),"\n",(0,i.jsx)(n.h2,{id:"description",children:"DESCRIPTION"}),"\n",(0,i.jsx)(n.p,{children:"Scans for outstanding SCCM updates to be installed and installs the pending updates."}),"\n",(0,i.jsx)(n.p,{children:"Only compatible with SCCM 2012 Client or higher.\nThis function can take several minutes to run."}),"\n",(0,i.jsx)(n.h2,{id:"examples",children:"EXAMPLES"}),"\n",(0,i.jsx)(n.h3,{id:"example-1",children:"EXAMPLE 1"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-powershell",children:"Install-ADTSCCMSoftwareUpdates\n"})}),"\n",(0,i.jsx)(n.p,{children:"Scans for outstanding SCCM updates and installs the pending updates with default wait times."}),"\n",(0,i.jsx)(n.h2,{id:"parameters",children:"PARAMETERS"}),"\n",(0,i.jsx)(n.h3,{id:"-softwareupdatesscanwaitinseconds",children:"-SoftwareUpdatesScanWaitInSeconds"}),"\n",(0,i.jsx)(n.p,{children:"The amount of time to wait in seconds for the software updates scan to complete."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"Type: Int32\nParameter Sets: (All)\nAliases:\n\nRequired: False\nPosition: 1\nDefault value: 180\nAccept pipeline input: False\nAccept wildcard characters: False\n"})}),"\n",(0,i.jsx)(n.h3,{id:"-waitforpendingupdatestimeout",children:"-WaitForPendingUpdatesTimeout"}),"\n",(0,i.jsx)(n.p,{children:"The amount of time to wait for missing and pending updates to install before exiting the function."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"Type: TimeSpan\nParameter Sets: (All)\nAliases:\n\nRequired: False\nPosition: 2\nDefault value: [System.TimeSpan]::FromMinutes(45)\nAccept pipeline input: False\nAccept wildcard characters: False\n"})}),"\n",(0,i.jsx)(n.h3,{id:"commonparameters",children:"CommonParameters"}),"\n",(0,i.jsxs)(n.p,{children:["This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see ",(0,i.jsx)(n.a,{href:"http://go.microsoft.com/fwlink/?LinkID=113216",children:"about_CommonParameters"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"inputs",children:"INPUTS"}),"\n",(0,i.jsx)(n.h3,{id:"none",children:"None"}),"\n",(0,i.jsx)(n.h3,{id:"you-cannot-pipe-objects-to-this-function",children:"You cannot pipe objects to this function."}),"\n",(0,i.jsx)(n.h2,{id:"outputs",children:"OUTPUTS"}),"\n",(0,i.jsx)(n.h3,{id:"none-1",children:"None"}),"\n",(0,i.jsx)(n.h3,{id:"this-function-does-not-return-any-objects",children:"This function does not return any objects."}),"\n",(0,i.jsx)(n.h2,{id:"notes",children:"NOTES"}),"\n",(0,i.jsx)(n.p,{children:"An active ADT session is NOT required to use this function."}),"\n",(0,i.jsxs)(n.p,{children:["Tags: psadt",(0,i.jsx)("br",{}),"\nWebsite: ",(0,i.jsx)(n.a,{href:"https://psappdeploytoolkit.com",children:"https://psappdeploytoolkit.com"}),(0,i.jsx)("br",{}),"\nCopyright: (C) 2025 PSAppDeployToolkit Team (Sean Lillis, Dan Cunningham, Muhammad Mashwani, Mitch Richters, Dan Gough).",(0,i.jsx)("br",{}),"\nLicense: ",(0,i.jsx)(n.a,{href:"https://opensource.org/license/lgpl-3-0",children:"https://opensource.org/license/lgpl-3-0"})]}),"\n",(0,i.jsx)(n.h2,{id:"related-links",children:"RELATED LINKS"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"/docs/4.0.x/reference/functions/Install-ADTSCCMSoftwareUpdates",children:"Install-ADTSCCMSoftwareUpdates"})})]})}function p(e={}){let{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},67008(e,n,t){t.d(n,{R:()=>o,x:()=>l});var s=t(71763);let i={},a=s.createContext(i);function o(e){let n=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.