Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_CopySource.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ $dest = New-Item -ItemType Directory -Path "$env:SystemDrive\temp\RSAT_1903_$lan
#get RSAT files

Get-ChildItem ($path+":\") -name -recurse -include *~amd64~~.cab,*~wow64~~.cab,*~amd64~$lang~.cab,*~wow64~$lang~.cab -exclude *languagefeatures*,*Holographic*,*NetFx3*,*OpenSSH*,*Msix* |
ForEach-Object {copy-item -Path ($path+�:\�+$_) -Destination $dest.FullName -Force -Container}
ForEach-Object {copy-item -Path ($path+":\"+$_) -Destination $dest.FullName -Force -Container}

#get metadata

copy-item ($path+":\metadata") -Destination $dest.FullName -Recurse

copy-item ($path +:\"+FoDMetadata_Client.cab) -Destination $dest.FullName -Force -Container
copy-item ($path +":\"+"FoDMetadata_Client.cab") -Destination $dest.FullName -Force -Container

#Dismount ISO

Dismount-DiskImage -ImagePath "$FOD_Source"
Dismount-DiskImage -ImagePath "$FOD_Source"
4 changes: 2 additions & 2 deletions W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_Install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $FoD_Source = ".\"

#Grab the available RSAT Features

$RSAT_FoD = Get-WindowsCapability Online | Where-Object Name -like 'RSAT*'
$RSAT_FoD = Get-WindowsCapability -Online | Where-Object Name -like 'RSAT*'

#Install RSAT Tools

Expand All @@ -22,4 +22,4 @@ Foreach ($RSAT_FoD_Item in $RSAT_FoD)

Add-WindowsCapability -Online -Name $RSAT_FoD_Item.name -Source $FoD_Source -LimitAccess

}
}