Skip to main content

Windows 10 Feature Upgrade

Summary

Initiates a Windows Feature Upgrade with a mandatory reboot.

Sample Run

TimeTaskStatusLink
3:57:45 pm 31-Aug-22Windows 10 Feature UpgradeSuccess THENprovaltech.com/dan.hicks
3:57:45 pm 31-Aug-22Windows 10 Feature UpgradeScript Registry Check was successfully scheduled to run in 1 hourprovaltech.com/dan.hicks
3:57:45 pm 31-Aug-22Windows 10 Feature UpgradeRaw PS1 Data: Id Name PSJobTypeName State HasMoreData Location Command -- ---- ------------- ----- ----------- -------- ------- 1 Job1 BackgroundJob Running True localhost C:/ProgramData/_autom...provaltech.com/dan.hicks
3:57:45 pm 31-Aug-22Execute PowerShell Command (64-bit, Run As System)Success THENprovaltech.com/dan.hicks
3:57:45 pm 31-Aug-22Execute PowerShell Command (64-bit, Run As System)-0016PowerShell command complete. Results returned to global variable #global:psresult# and saved in Agent's Documents tab of server.provaltech.com/dan.hicks
3:57:32 pm 31-Aug-22Execute PowerShell Command (64-bit, Run As System)-0011Executing 64-bit PowerShell command as System: "" -command "Start-Job -ScriptBlock \{ C:/ProgramData/_automation/AgentProcedure/UpdateWindows10/Update-Windows10.ps1 -Reboot None}" >"c:/provaltech/psoutputtmp.txt"provaltech.com/dan.hicks
3:57:32 pm 31-Aug-22Execute PowerShell Command (64-bit, Run As System)-0013Sending output to global variable.provaltech.com/dan.hicks
3:57:32 pm 31-Aug-22Execute PowerShell Command (64-bit, Run As System)-0008Custom commands detected as Start-Job -ScriptBlock \{ C:/ProgramData/_automation/AgentProcedure/UpdateWindows10/Update-Windows10.ps1 -Reboot None}provaltech.com/dan.hicks
3:57:32 pm 31-Aug-22Execute PowerShell Command (64-bit, Run As System)-0003No PowerShell file variable detected.provaltech.com/dan.hicks
3:57:31 pm 31-Aug-22Execute PowerShell Command (64-bit, Run As System)-0002PowerShell is present.provaltech.com/dan.hicks
3:57:17 pm 31-Aug-22Execute PowerShell CommandSuccess THENprovaltech.com/dan.hicks
3:57:16 pm 31-Aug-22Execute PowerShell Command-0011PowerShell command completed!provaltech.com/dan.hicks
3:57:13 pm 31-Aug-22Execute PowerShell Command-0011Executing PowerShell "" -Command "New-Item -Type Directory -Path $env:ProgramData/_automation/AgentProcedure -name UpdateWindows10" ""provaltech.com/dan.hicks
3:57:13 pm 31-Aug-22Execute PowerShell Command-0010Not sending output to variable.provaltech.com/dan.hicks
3:57:13 pm 31-Aug-22Execute PowerShell Command-0008New command variable is: -Command "New-Item -Type Directory -Path $env:ProgramData/_automation/AgentProcedure -name UpdateWindows10"provaltech.com/dan.hicks
3:57:13 pm 31-Aug-22Execute PowerShell Command-0008Custom commands detected as New-Item -Type Directory -Path $env:ProgramData/_automation/AgentProcedure -name UpdateWindows10provaltech.com/dan.hicks
3:57:05 pm 31-Aug-22Execute PowerShell Command-0002PowerShell is present.provaltech.com/dan.hicks
3:56:58 pm 31-Aug-22Get Add/Remove Programs ListSuccess THEN
3:56:57 pm 31-Aug-22SW License AuditSuccess THEN
3:56:57 pm 31-Aug-22Close KLicenseSuccess ELSE
3:56:57 pm 31-Aug-22Check if KLicense runningSuccess ELSE
3:56:05 pm 31-Aug-22Run Now - Windows 10 Feature UpgradeAdmin provaltech.com/dan.hicks scheduled procedure Run Now - Windows 10 Feature Upgrade to run at Aug 31 2022 3:56 PM

Process

Starts a job running in the background to execute SEC - Windows Patching - Agnostic - Update-Windows10 on the machine with no reboot.
Schedules SEC - Windows Patching - Agent Procedure - Registry Check for 1 hour from run time.
Sets SEC - Windows Patching - Custom Fields - xPVAL Windows Feature Upgrade Status to [In Progress].

Output

AP Log
SEC - Windows Patching - Custom Fields - xPVAL Windows Feature Upgrade Status
PSOutput Document