1
votes

I was trying to implement windows 10 iot Unified Write Filter implementation.

I wanted to run these commands to remote iot device through powershell.
change to the directory where you have copied your files
cd C:\UWFTemp
commands to install the packages to your IoT device system image:
applyupdate –stage .\Microsoft-IoTUAP-UnifiedWriteFilter-Package.cab
applyupdate –stage .\Microsoft-IoTUAP-UnifiedWriteFilter-Package_Lang_en-us.cab
applyupdate –commit

And I'm getting error as

PS C:\UWFTemp> applyupdate -stage Microsoft-IoTUAP-UnifiedWriteFilter-Package.cab

The term 'applyupdate' 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.
    + CategoryInfo          : ObjectNotFound: (applyupdate:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

The file which I'm running this command exists and working fine. I'm new to shell scripting, I couldn't find how to install package for get running the applyupdate command.

1

1 Answers

0
votes

It seems that you have not accessed the remote device via Powershell. Please try to copy the packages into your device and connect the remote device via Powershell. This document shows how to use UWF on Windows 10 IoT Core(https://docs.microsoft.com/en-us/windows/iot-core/secure-your-device/unifiedwritefilter).