From 9d8cf57e9a6d1019dcee81d42dfd3658efb91dae Mon Sep 17 00:00:00 2001 From: wkbrd <30599409+wkbrd@users.noreply.github.com> Date: Wed, 4 Sep 2019 11:56:04 -0400 Subject: [PATCH 1/2] Removing use of extended ASCII symbols File was using curly quotes, which should not be used. --- W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_CopySource.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" From af6838a93dd5f13e7347f49b82e61390dc38dd2a Mon Sep 17 00:00:00 2001 From: wkbrd <30599409+wkbrd@users.noreply.github.com> Date: Wed, 4 Sep 2019 11:56:47 -0400 Subject: [PATCH 2/2] Removing use of emdash and changing to normal dash. --- W10_RSAT_FOD_Offline/W10_FOD_RSAT_Offline_Install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}