I want to create a script that copies a file to all user profiles both who have already logged and for a new user who log into the windows 10 pc. The location the files should be copied to is Users\username\AppData\Roaming
Please help not great at powershell
Here is my current script. It will copy to existing profiles but I need to add line to copy for new users who login each time
$Source = '\\FileShare\FancyConfigurationFiles\Config.xml'
$Destination = 'C:\users*\AppData\Roaming\'
Get-ChildItem $Destination | ForEach-Object {Copy-Item -Path $Source -Destination $_ -Force}