Skip to main content

All Questions

Tagged with
1 vote
1 answer
634 views

Call function from inside a Powershell Script

Right now I'm learning the Powershell App Deployment Toolkit. PSADT is used in software deployment, to have more control over (silent-)installs, (silent-)uninstalls and repairs of software. To work as ...
hmaier's user avatar
  • 73
0 votes
1 answer
2k views

How do I write this powershell 2.0 command, which creates a scheduled task, to run another powershell command?

For all intents and purposes, I am a novice with PS. The command I'd like to run (it works when run manually) is: (I realize parts are probably redundant) Start-Process -WindowStyle hidden "$...
Will's user avatar
  • 45
0 votes
2 answers
3k views

Remove all volumes from all connected disks - Diskpart

How can I remove all volumes from the hard drives in a WinPE environment using Diskpart through Powershell or WMIC calls? The WinPE image will be injected with the required packages using DISM ...
Bilfred's user avatar
  • 673
8 votes
2 answers
94k views

Install Windows Store App package (*.appx) for all users

I know there are several posts where users want to install Windows Store Apps for all users. Answers were to use DISM. In my case I can not use DISM because all clients are already deployed. If a ...
Martin's user avatar
  • 202
3 votes
2 answers
3k views

How do you install .net4 on a Server 2008 r2 machine through psremoting in powershell?

I need to write a script that installs .net 4 remotely using powershell to a group of Server 2008 R2 machines. I based my script off of http://social.technet.microsoft.com/Forums/en-US/...
Jake's user avatar
  • 31