Forum Discussion
CS_HelpDesk
3 years agoGoTo Contributor
Remote Execution - PowerShell Script Repository
Welcome to the Remote Execution - Powershell Script Repository!
What is it? A library of scripts to help you execute automated tasks and manage your Central computers without having to access t...
CS_HelpDesk
3 years agoGoTo Contributor
Upload files and set their destination.
File location is an example.
--
$destination = 'C:\DistributedFiles'
$overwrite = $false
If (-Not (Test-Path -Path $destination -PathType Container))
{
New-Item -Path $destination -ItemType Container
}
$resolve_Files | % { Move-Item -Path $_ -Destination $destination -Force:$overwrite }