Last active
March 4, 2016 04:31
-
-
Save kowill/83494cfdda3173a37a6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Dst = "F:\tmp" | |
$TargetDrive = "I" | |
cd $Dst | |
#mkdir TP4ISOから | |
Copy-Item ($TargetDrive + ":\NanoServer") NanoServer -Recurse | |
cd NanoServer | |
mkdir dism | |
Copy-Item ($TargetDrive + ":\sources\api*downlevel*.dll") dism | |
Copy-Item ($TargetDrive + ":\sources\dism*") dism | |
Copy-Item ($TargetDrive + ":\sources\*provider*") dism -Recurse | |
mkdir mountdir | |
#適当なとこから | |
Copy-Item ($Dst + "\unattend.xml") . | |
#一応読専は外しておく | |
Get-ChildItem -File -Recurse | Set-ItemProperty -Name IsReadOnly -Value $false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment