Horje
powershell copy folder to remote computer Code Example
powershell copy folder to remote computer
Start-Transcript -path 'c:\scriptlog.txt'
$ServerList         = import-csv 'C:\powershell\Workstation-test.CSV'
$SourceFileLocation = 'C:\Niche'
$Destination        = 'C$\Niche'
 
foreach ($_ in $ServerList.computer){
    remove-item "\\$_\$Destination" -Recurse -Force -Verbose
    Copy-Item $SourceFileLocation -Destination "\\$_\$Destination" -Recurse -Verbose
}
Stop-Transcript




Shell

Related
buildspec conditional Code Example buildspec conditional Code Example
how to upgrade sharepointpnppowershellonline Code Example how to upgrade sharepointpnppowershellonline Code Example
how to set up fingerprint sensor in ubuntu 20.10 Code Example how to set up fingerprint sensor in ubuntu 20.10 Code Example
linux get part of string Code Example linux get part of string Code Example
your system lacks libtoolize Code Example your system lacks libtoolize Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10