Skip to content

I cannot find related functions Get-WUInstall and Get-WURebootStatus that calls in UpdateAndSysprep.ps1.  #22

@Sharkrit

Description

@Sharkrit

I cannot find related native functions Get-WUInstall and Get-WURebootStatus that calls in UpdateAndSysprep.ps1. Did you declared in other script?

$Host.UI.RawUI.WindowTitle = "Installing updates..."
Get-WUInstall -AcceptAll -IgnoreReboot
if (Get-WURebootStatus -Silent)
{
$Host.UI.RawUI.WindowTitle = "Updates installation finished. Rebooting."
shutdown /r /t 0
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions