Here is states, that this cmdlet can be used only to an image: http://technet.microsoft.com/en-us/library/dn283403.aspx
But his guy claims that this cmdlet can be used locally: http://stealthpuppy.com/customizing-the-windows-8-1-start-screen-dont-follow-microsofts-guidance/
I need to set a valid powershell script (ps1) or command line, which could work during task sequence.
1. If I run the command from location with the startscreen bin file as:
PS L:\Tools\W8Customize> Import-StartLayout -LayoutPath .\CustomStartScreenLayou
t.bin -MountPath %SystemDrive%\
I´ll get: Cannot find path 'L:\Tools\W8Customize\%SystemDrive%\
2. If I run it with C:\Windows instead of SystemDrive, I get:
PS L:\Tools\W8Customize> Import-StartLayout -LayoutPath CustomStartScreenLayout.
bin -MountPath "C:\Windows\"
I´ll get: The path C:\Windows\ did not resolve to a file.
I also tried to copy the bin file manually to C:\Windows\ and execute it locally, but that doesn´t work either.