Replies: 2 comments 3 replies
-
|
Not currently, but now that unattend.xml is being used for more than just naming, I can look into changing it. Now that there's a UI, I can make naming much more intuitive. When is Rename-Computer being run? |
Beta Was this translation helpful? Give feedback.
-
|
Actually, I had a look at ApplyFFU.ps1 and PR #150. Perhaps adding support for an external PowerShell script to get the computer name would make more sense, and be more potentially useful? I think it could be implemented in a very similar manner to the CSV file support from PR #150. Basically:
Do you have any objections to this idea, like wanting to avoid calling external scripts from ApplyFFU.ps1? If not I can have a go at implementing it and eventually presenting it as a pull request. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a PowerShell script that uses Rename-Computer to set the device name after looking it up in our inventory system. At the moment we're using unattend.xml to run this script in the specialize phase of the deployment. Prefixes.txt contains a single prefix, FFU-.
The Rename-Computer command that our script runs appears to be overridden by the auto-generated name FFU Builder puts into unattend.xml.
Is there any way to use unattend.xml without also enabling FFU Builder's device name functionality?
Beta Was this translation helpful? Give feedback.
All reactions