Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Invoke-oobeRemoveAppx' is not recognized as the name of a cmdlet, function, script file, or operable program #88

Open
NicoJDE opened this issue Nov 20, 2023 Discussed in #75 · 0 comments

Comments

@NicoJDE
Copy link

NicoJDE commented Nov 20, 2023

Discussed in #75

Originally posted by ezjurgen August 24, 2023
When running Start-OOBEDEPLOY (after installing and importing OSD module) as part of a TS in the OOBE phase I get the error above. I would assume the cmdlet is part of the OSD module no? googling it does point to the Start-OOBEDeploy script but not much further.

any help?
Here is the full script

PS C:\Windows\system32> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
import-module osd
$Params = @{
    Autopilot = $false
    RemoveAppx = "CommunicationsApps","OfficeHub","People","Skype","Solitaire","Xbox","ZuneMusic","ZuneVideo"
    UpdateDrivers = $true
    UpdateWindows = $true
}
Start-OOBEDeploy @Params
=========================================================================
Start-OOBEDeploy
=========================================================================
2023-08-24-044621 Start-Transcript
Transcript started, output file is C:\Windows\Temp\2023-08-24-044621-OOBEDeploy.log
Exporting Configuration C:\Users\EZADMI~1\AppData\Local\Temp\OSDeploy.OOBEDeploy.json
=========================================================================
2023-08-24-044626 Invoke-oobeRemoveAppx -RemoveAppx
Invoke-oobeRemoveAppx : The term 'Invoke-oobeRemoveAppx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is 
correct and try again.
At C:\Program Files\WindowsPowerShell\Modules\osd\23.8.18.1\Public\OOBEDeploy\Start-OOBEDeploy.ps1:206 char:13
+             Invoke-oobeRemoveAppx -RemoveAppx $RemoveAppx
+             ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Invoke-oobeRemoveAppx:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
=========================================================================
2023-08-24-044626 Invoke-oobeUpdateDrivers
Device Drivers are being updated in a minimized window
Use Alt+Tab to switch Windows and view progress
=========================================================================
2023-08-24-044633 Invoke-oobeUpdateWindows
Windows Updates are being updated in a minimized window
Use Alt+Tab to switch Windows and view progress
=========================================================================
WARNING: Restart-Computer before completing OOBE
=========================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant