When a computer is already in scope and the profile is already installed
on it, If you add the same computer in the form of a smart group and
choose "Distribute to Newly assigned devices only", then profile will
not be redeployed to that computer.Lat...
Your Script works.If it says Directory exists even if it doesn't exist,
then problem could be that you either don't have permission on that
Desktop folder or The One Drive Folder's name is different.(Sometimes
the small and long "-" also makes the di...