First off let me say that I am not a powershell or scripting person.
I have a script that runs just fine in administrator mode powershell on the host. If I try to run it as a Nerdio scripted action it fails because the system user is not allowed.
What should my Nerdio script look like to use the passthru variables? Here is the script that runs just fine in PowerShell.
Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Thanks in advance
Comments (2 comments)