Reinstall with powerhell

I removed these two apps via powershell with the following commands
Get-AppxPackage *photos* | Remove-AppxPackage
Get-AppxPackage *windowsstore* | Remove-AppxPackage

How can I get them back?
WellingtonISAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Try this for Windows Store

http://www.winhelponline.com/blog/restore-windows-store-windows-10-uninstall-with-powershell/

It would be similar for photos.

I do not uninstall these things.
0
WellingtonISAuthor Commented:
I tried this:
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Waiting for user to reboot
0
JohnBusiness Consultant (Owner)Commented:
Please let us know after the restart.
0
Discover the Answer to Productive IT

Discover app within WatchGuard's Wi-Fi Cloud helps you optimize W-Fi user experience with the most complete set of visibility, troubleshooting, and network health features. Quickly pinpointing network problems will lead to more happy users and most importantly, productive IT.

WellingtonISAuthor Commented:
Didn't work  Is there any place to download the app - save it and then install it?
0
JohnBusiness Consultant (Owner)Commented:
Remove Windows Apps is always dangerous.

Try doing an in-place (Keep Everything) Repair Install.

Go to the Media Creation Link

https://www.microsoft.com/en-us/software-download/windows10

Windows 10 is running, so click on the Download button (not Upgrade Button, select Open (Run) but NOT Save. Allow the program to run. Allow drivers to update. Then select Keep Everything
0
WellingtonISAuthor Commented:
we can try but is there a way to download the photo app on its' own?
0
JohnBusiness Consultant (Owner)Commented:
I will look but I do no know another way other than powershell
0
WellingtonISAuthor Commented:
Do you think a system restore will bring it back?
0
JohnBusiness Consultant (Owner)Commented:
It might, if the restore goes back to a point where the apps were removed.  It is worth a try.
0
WellingtonISAuthor Commented:
Nothing worked.  Reinstalled Windows.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shaun VermaakTechnical Specialist IVCommented:
Remove Windows Apps is always dangerous.
Totally disagree with this statement

Run this to restore all buitin apps
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Open in new window

0
WellingtonISAuthor Commented:
Reinstalled windows.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.