The "CopyMoveProgressRoutine" parameter is expecting a callback function. I'm not certain if it'd work within PowerShell, since PowerShell functions aren't indexed in memory the same way that a C# program would be. Someone a bit more familiar with the dev-heavy side of things may prove me wrong ;). It's possible you could define a script block, and then pass that script block to the method parameter and have it work. But it's definitely more than "a line of code."