diff --git a/W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_CopySource.ps1 b/W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_CopySource.ps1 index fc2d333..a1ea355 100644 --- a/W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_CopySource.ps1 +++ b/W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_CopySource.ps1 @@ -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" \ No newline at end of file +Dismount-DiskImage -ImagePath "$FOD_Source" diff --git a/W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_Install.ps1 b/W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_Install.ps1 index 883c457..79965df 100644 --- a/W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_Install.ps1 +++ b/W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_Install.ps1 @@ -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 @@ -22,4 +22,4 @@ Foreach ($RSAT_FoD_Item in $RSAT_FoD) Add-WindowsCapability -Online -Name $RSAT_FoD_Item.name -Source $FoD_Source -LimitAccess -} \ No newline at end of file +}