$AudioPath = "\\starbase\LCARS\LCARS Audio\*" $PicPath = "\\starbase\LCARS\LCARS Pictures\*" $MissionPath = "\\starbase\LCARS\Current Mission Videos\*" $LocalPathAudio = "C:\Lcars\Audio" $LocalPathPictures = "C:\Lcars\Pictures" $LocalPathMissionVideos = "C:\Lcars\MissionVideos" Write-Host "Copying Artemis to Local Computer" -ForegroundColor DarkCyan # Test if Folders exist if(Test-Path $LocalPathAudio) {"Temp folder found"} else {New-Item -ItemType Directory -Force -Path $LocalPathAudio} if(Test-Path $LocalPathPictures) {"Temp folder found"} else {New-Item -ItemType Directory -Force -Path $LocalPathPictures} if(Test-Path $LocalPathMissionVideos) {"Temp folder found"} else {New-Item -ItemType Directory -Force -Path $LocalPathMissionVideos} # Copy Files New-Item -ItemType Directory -Force -Path $LocalPathAudio Copy-Item $AudioPath -Destination $LocalPathAudio -Recurse New-Item -ItemType Directory -Force -Path $LocalPathPictures Copy-Item $PicPath -Destination $LocalPathPictures -Recurse New-Item -ItemType Directory -Force -Path $LocalPathMissionVideos Copy-Item $MissionPath -Destination $LocalPathMissionVideos -Recurse