Title: Copy-Item incorrect behavior and also inconsistent results when rerun · Issue #10458 · PowerShell/PowerShell · GitHub
Open Graph Title: Copy-Item incorrect behavior and also inconsistent results when rerun · Issue #10458 · PowerShell/PowerShell
X Title: Copy-Item incorrect behavior and also inconsistent results when rerun · Issue #10458 · PowerShell/PowerShell
Description: Steps to reproduce Issue Copy-Item behavior is inconsistent and produces unexpected results In some cases rerunning the same command produces different results The results are different than what cmd copy, xcopy, and robocopy would produ...
Open Graph Description: Steps to reproduce Issue Copy-Item behavior is inconsistent and produces unexpected results In some cases rerunning the same command produces different results The results are different than what c...
X Description: Steps to reproduce Issue Copy-Item behavior is inconsistent and produces unexpected results In some cases rerunning the same command produces different results The results are different than what c...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10458
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Copy-Item incorrect behavior and also inconsistent results when rerun","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n\r\n-->\r\n\r\n# Steps to reproduce\r\n\r\nIssue\r\n Copy-Item behavior is inconsistent and produces unexpected results\r\n In some cases rerunning the same command produces different results\r\n The results are different than what cmd copy, xcopy, and robocopy would produce\r\n\r\nSetUp\r\n For each example the following setup is to start with a clean slate\r\n Before EACH of the tests in EACH example the environment is reset\r\n (so before each Copy-Item, cmd copy tests, xcopy, or robocopy test)\r\n\r\n SetUp-PSCopyTest.ps1\r\n\r\n rm -r -force \\test\r\n rm -r -force \\test2\r\n\r\n md \\test\r\n\r\n echo 'a' > \\test\\a.txt\r\n echo 'b' > \\test\\b.txt\r\n echo 'c' > \\test\\c.txt\r\n echo 'd' > \\test\\d.txt\r\n\r\n md \\test\\1\r\n\r\n echo '1d' > \\test\\1\\d.txt\r\n\r\n Which produces the following folders and files\r\n\r\n \\test\\a.txt\r\n \\test\\b.txt\r\n \\test\\c.txt\r\n \\test\\d.txt\r\n \\test\\1\r\n \\test\\1\\d.txt\r\n\r\nExample 1 - Destination does not exist and recurse not specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n\r\n Test\r\n Copy-Item test test2\r\n\r\n Expected Result\r\n \\test2 directory created\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n\r\n Copy-Item Result (UnExpected)\r\n \\test2 directory created but is empty\r\n No files in \\test were copied\r\n\r\n Copy-Item ReRun Result (UnExpected AND different)\r\n \\test2\\test directory created\r\n No files in \\test were copied and no files exist in test2 or test2\\test\r\n\r\n cmd copy test test2 Result (Not desired but expected)\r\n \\test2 FILE created which contains the contents of\r\n \\test\\a.txt\r\n \\test\\b.txt\r\n \\test\\c.txt\r\n \\test\\d.txt\r\n\r\n Not the desired result but expected since \\test2 directory did not exist\r\n\r\n xcopy test test2 Result (Expected)\r\n The expected results occur if you respond D for directory to the prompt\r\n asking if test2 is File or Directory\r\n\r\n robocopy test test2 Result (Expected)\r\n The expected results occur\r\n\r\nExample 2 - Destination does not exist and recurse was specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n\r\n Test\r\n Copy-Item test test2 -r\r\n\r\n Expected Result\r\n \\test2 directory created\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n \\test\\1 directory created\r\n \\test\\1\\d.txt file copied\r\n\r\n Copy-Item Result (Expected)\r\n The expected results occur\r\n\r\n Copy-Item ReRun Result (UnExpected AND different)\r\n Note when rerun the results are different since the \\test2 directory exists\r\n This makes Copy-Item difficult to use in a script that is scheduled to run\r\n on a reoccurring basis\r\n\r\n \\test2\\test directory created\r\n \\test2\\test\\a.txt file copied\r\n \\test2\\test\\b.txt file copied\r\n \\test2\\test\\c.txt file copied\r\n \\test2\\test\\d.txt file copied\r\n\r\n \\test2\\test\\1 directory created\r\n \\test2\\test\\1\\d.txt file copied\r\n\r\n Copy-Item 2nd Rerun Result (UnExpected AND different again from previous 2 runs)\r\n Error: CopyItem : An item with the specified name \\test2\\test already exists\r\n\r\n If -Force is specified then the results are the same as the Copy-Item ReRun results,\r\n however, that demonstrates how Copy-Item cannot be used to produce the same results\r\n for a rerun command. It also only seems to care when a destination directory\r\n exists and as other tests show does not care if it would overwrite a file.\r\n\r\n cmd copy Result (Not Supported)\r\n cmd copy does not support recursion so test not applicable\r\n\r\n xcopy test test2 /s /e Result (Expected)\r\n The expected results occur if you respond D for directory to the prompt\r\n asking if test2 is File or Directory\r\n\r\n robocopy test test2 /s /e Result (Expected)\r\n The expected results occur\r\n\r\nExample 3 - Destination exists but is empty and recurse not specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n md \\test2\r\n\r\n Test\r\n Copy-Item test test2\r\n\r\n Expected Result\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n\r\n Copy-Item Result (UnExpected)\r\n \\test2\\test directory created\r\n No files in \\test were copied\r\n\r\n Copy-Item ReRun Result (UnExpected and different)\r\n Error: copy-item : An item with the specified name \\test2\\test already exists.\r\n\r\n If -Force is specified then the results are the same as the Copy-Item results\r\n\r\n cmd copy test test2 Result (Expected)\r\n The expected results occur\r\n\r\n xcopy test test2 Result (Expected)\r\n The expected results occur\r\n\r\n robocopy test test2 Result (Expected)\r\n The expected results occur\r\n\r\nExample 4 - Destination exists but is empty and recurse was specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n md \\test2\r\n\r\n Test\r\n Copy-Item test test2 -r\r\n\r\n Expected Result\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n \\test2\\1 directory created\r\n \\test2\\1\\d.txt file copied\r\n\r\n Copy-Item Result (UnExpected)\r\n \\test2\\test\\a.txt file copied\r\n \\test2\\test\\b.txt file copied\r\n \\test2\\test\\c.txt file copied\r\n \\test2\\test\\d.txt file copied\r\n \\test2\\test\\1 directory created\r\n \\test2\\test\\1\\d.txt file copied\r\n\r\n Copy-Item ReRun Result (UnExpected)\r\n Error: Copy-Item : An item with the specified name \\test2\\test already exists.\r\n\r\n If -Force is specified then the results are the same as the Copy-Item results, but\r\n those are not the expected or desired results\r\n\r\n cmd copy Result (Not Supported)\r\n cmd copy does not support recursion so test not applicable\r\n\r\n xcopy test test2 /s /e Result (Expected)\r\n The expected results occur\r\n\r\n robocopy test test2 /s /e Result (Expected)\r\n The expected results occur\r\n\r\nExample 5 - Destination does not exist, using * with the source and recurse not specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n\r\n Test\r\n Copy-Item test\\* test2\r\n\r\n Expected Result\r\n \\test2 directory created\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n\r\n Copy-Item Result (Expected)\r\n The expected results occur\r\n\r\n Copy-Item ReRun Result (UnExpected and different)\r\n \\test2\\1 directory created and empty\r\n\r\n No confirmation for overwriting files occur\r\n\r\n Copy-Item 2nd ReRun Result (UnExpected and different)\r\n Error: Copy-Item : An item with the specified name \\test2\\1 already exists.\r\n\r\n Interesting no issue with overwritting the files\r\n\r\n If -Force is specified then the results are the same as the Copy-Item rerun results, but\r\n those are not the expected or desired results\r\n\r\n cmd copy test\\* test2 Result (Not desired but expected)\r\n \\test2 FILE created which contains the contents of\r\n \\test\\a.txt\r\n \\test\\b.txt\r\n \\test\\c.txt\r\n \\test\\d.txt\r\n\r\n Not the desired result but expected since \\test2 directory did not exist\r\n\r\n xcopy test\\* test2 Result (Expected)\r\n The expected results occur if you respond D for directory to the prompt\r\n asking if test2 is File or Directory\r\n\r\n robocopy test\\* test2 Result (Not supported - but alternative available)\r\n Robocopy works with directories so this syntax is not valid\r\n This is not really an issue since robocopy test test2 produces the expected results\r\n\r\nExample 6 - Destination does not exist, using * with the source and recurse was specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n\r\n Test\r\n Copy-Item test\\* test2 -r\r\n\r\n Expected Result\r\n \\test2 directory created\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n \\test2\\1 directory created\r\n \\test2\\1\\d.txt file copied\r\n\r\n Copy-Item Result (UnExpected)\r\n \\test2 directory created\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n\r\n Despite specifying recurse the following were not created\r\n \\test2\\1 directory not created\r\n \\test2\\1\\d.txt file not copied\r\n\r\n Copy-Item ReRun Result (Expected BUT different)\r\n The expected results occur but this differs from the initial run which shows that\r\n you cannot run the same command and get the same results.\r\n\r\n cmd copy Result (Not Supported)\r\n cmd copy does not support recursion so test not applicable\r\n\r\n xcopy test\\* test2 /s /e Result (Expected)\r\n The expected results occur if you respond D for directory to the prompt\r\n asking if test2 is File or Directory\r\n\r\n robocopy test\\* test2 /s /e Result (Not supported - but alternative available)\r\n Robocopy works with directories so this syntax is not valid\r\n This is not really an issue since robocopy test test2 /s /e produces the expected results\r\n\r\nExample 7 - Destination exists, using * with the source and recurse not specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n md \\test2\r\n\r\n Test\r\n Copy-Item test\\* test2\r\n\r\n Expected Result\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n\r\n Copy-Item Result (UnExpected)\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n \\test2\\1 directory created but empty\r\n\r\n Copy-Item ReRun Result (UnExpected and different)\r\n Error: Copy-Item : An item with the specified name \\test2\\1 already exists.\r\n\r\n Interesting no issue with overwriting the files\r\n\r\n If -Force is specified then the results are the same as the Copy-Item results, but\r\n those are not the expected or desired results\r\n\r\n cmd copy test\\* test2 Result (Expected)\r\n The expected results occur\r\n\r\n xcopy test\\* test2 Result (Expected)\r\n The expected results occur\r\n\r\n robocopy test\\* test2 Result (Not supported - but alternative available)\r\n Robocopy works with directories so this syntax is not valid\r\n This is not really an issue since robocopy test test2 produces the expected results\r\n\r\nExample 8 - Destination exists, using * with the source and recurse was specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n md \\test2\r\n\r\n Test\r\n Copy-Item test\\* test2 -r\r\n\r\n Expected Result\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n \\test2\\1 directory created\r\n \\test2\\1\\d.txt file copied\r\n\r\n Copy-Item Result (Expected)\r\n The expected results occur\r\n\r\n Copy-Item ReRun Result (Expected If -Force is also used)\r\n Error: Copy-Item : An item with the specified name \\test2\\1 already exists.\r\n\r\n If -Force is specifed then the expected results occur\r\n\r\n cmd copy Result (Not Supported)\r\n cmd copy does not support recursion so test not applicable\r\n\r\n xcopy test\\* test2 /s /e Result (Expected)\r\n The expected results occur\r\n\r\n robocopy test\\* test2 /s /e Result (Not supported - but alternative available)\r\n Robocopy works with directories so this syntax is not valid\r\n This is not really an issue since robocopy test test2 /s /e produces the expected results\r\n\r\nExample 9 - Destination does not exist, using *.* with the source and recurse not specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n\r\n Test\r\n Copy-Item test\\*.* test2\r\n\r\n Expected Result\r\n \\test2 directory created\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n\r\n Copy-Item Result (UnExpected but similar to what cmd copy did in prior test)\r\n test2 FILE created with the contents of \\test\\d.txt only\r\n\r\n Copy-Item ReRun Result (UnExpected)\r\n Same results as Copy-Item Result, however, interesting that no confirmation prompt\r\n displayed to overwrite the file\r\n\r\n cmd copy test\\*.* test2 Result (Not desired but expected)\r\n \\test2 FILE created which contains the contents of\r\n \\test\\a.txt\r\n \\test\\b.txt\r\n \\test\\c.txt\r\n \\test\\d.txt\r\n\r\n xcopy test\\*.* test2 Result (Expected)\r\n The expected results occur if you respond D for directory to the prompt\r\n asking if test2 is File or Directory\r\n\r\n robocopy test\\*.* test2 Result (Not supported - but alternative available)\r\n Robocopy works with directories so this syntax is not valid\r\n This is not really an issue since robocopy test test2 produces the expected results\r\n\r\nExample 10 - Destination does not exist, using *.* with the source and recurse was specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n\r\n Test\r\n Copy-Item test\\*.* test2 -r\r\n\r\n Expected Result\r\n \\test2 directory created\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n \\test2\\1 directory created\r\n \\test2\\1\\d.txt file copied\r\n\r\n Copy-Item Result (UnExpected but similar to what cmd copy did in prior test)\r\n \\test2 FILE created which contains the contents of \\test\\d.txt\r\n\r\n Copy-Item ReRun Result (UnExpected)\r\n Same as Copy-Item Result but no overwrite prompt\r\n\r\n cmd copy Result (Not Supported)\r\n cmd copy does not support recursion so test not applicable\r\n\r\n xcopy test\\*.* test2 /s /e Result (Expected)\r\n The expected results occur if you respond D for directory to the prompt\r\n asking if test2 is File or Directory\r\n\r\n robocopy test\\*.* test2 /s /e Result (Not supported - but alternative available)\r\n Robocopy works with directories so this syntax is not valid\r\n This is not really an issue since robocopy test test2 /s /e produces the expected results\r\n\r\nExample 11 - Destination exists, using *.* with the source and recurse not specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n md \\test2\r\n\r\n Test\r\n Copy-Item test\\*.* test2\r\n\r\n Expected Result\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n\r\n Copy-Item Result (Expected)\r\n The expected results occur\r\n\r\n Copy-Item ReRun Result (Expected)\r\n The expected results occur, however, there is no warning about overwritting files\r\n\r\n cmd copy test\\*.* test2 Result (Expected)\r\n The expected results occur\r\n\r\n xcopy test\\*.* test2 Result (Expected)\r\n The expected results occur\r\n\r\n robocopy test\\*.* test2 Result (Not supported - but alternative available)\r\n Robocopy works with directories so this syntax is not valid\r\n This is not really an issue since robocopy test test2 produces the expected results\r\n\r\nExample 12 - Destination exists, using *.* with the source and recurse was specified\r\n Setup\r\n SetUp-PSCopyTest.ps1\r\n md \\test2\r\n\r\n Test\r\n Copy-Item test\\*.* test2 -r\r\n\r\n Expected Result\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n \\test2\\1 directory created\r\n \\test2\\1\\d.txt file copied\r\n\r\n Copy-Item Result (UnExpected)\r\n \\test2\\a.txt file copied\r\n \\test2\\b.txt file copied\r\n \\test2\\c.txt file copied\r\n \\test2\\d.txt file copied\r\n\r\n Despite specifying recurse the following were not created\r\n \\test2\\1 directory not created\r\n \\test2\\1\\d.txt file not copied\r\n\r\n Copy-Item ReRun Result (UnExpected)\r\n Same results as Copy-Item, however, there is no warning about overwritting files\r\n\r\n Despite specifying recurse the following were not created\r\n \\test2\\1 directory not created\r\n \\test2\\1\\d.txt file not copied\r\n\r\n cmd copy Result (Not Supported)\r\n cmd copy does not support recursion so test not applicable\r\n\r\n xcopy test\\*.* test2 /s /e Result (Expected)\r\n The expected results occur\r\n\r\n robocopy test\\*.* test2 /s /e Result (Not supported - but alternative available)\r\n Robocopy works with directories so this syntax is not valid\r\n This is not really an issue since robocopy test test2 /s /e produces the expected results\r\n\r\n--\r\n-- Comparison of copy method results\r\n--\r\n\r\n Copy-Item\r\n 1 UnExpected result and different results when rerun\r\n 2 Expected result but different results when rerun\r\n 3 UnExpected result and different results when rerun\r\n 4 UnExpected result and different results when rerun\r\n 5 Expected result but different results when rerun\r\n 6 UnExpected result initially and Expected Result when rerun\r\n 7 UnExpected result and different results when rerun\r\n 8 Expected result and same result when rerun if -Force used\r\n 9 UnExpected result and same result when rerun\r\n 10 UnExpected result and same result when rerun\r\n 11 Expected result and same result when rerun\r\n 12 UnExpected result and same result when rerun\r\n\r\n cmd copy\r\n 1 Not desired but expected result\r\n 2 Does not support recursion\r\n 3 Expected result\r\n 4 Does not support recursion\r\n 5 Not desired but expected result\r\n 6 Does not support recursion\r\n 7 Expected result\r\n 8 Does not support recursion\r\n 9 Not desired but expected result\r\n 10 Does not support recursion\r\n 11 Expected result\r\n 12 Does not support recursion\r\n\r\n xcopy\r\n 1 Expected result\r\n 2 Expected result\r\n 3 Expected result\r\n 4 Expected result\r\n 5 Expected result\r\n 6 Expected result\r\n 7 Expected result\r\n 8 Expected result\r\n 9 Expected result\r\n 10 Expected result\r\n 11 Expected result\r\n 12 Expected result\r\n\r\n robocopy\r\n 1 Expected result\r\n 2 Expected result\r\n 3 Expected result\r\n 4 Expected result\r\n 5 Not Supported but alternative syntax works\r\n 6 Not Supported but alternative syntax works\r\n 7 Not Supported but alternative syntax works\r\n 8 Not Supported but alternative syntax works\r\n 9 Not Supported but alternative syntax works\r\n 10 Not Supported but alternative syntax works\r\n 11 Not Supported but alternative syntax works\r\n 12 Not Supported but alternative syntax works\r\n\r\n--\r\n-- Conclusion\r\n--\r\n\r\nWhen I first started using PowerShell back in the 2.0 days I noticed these and similar issues\r\nbut figured they would be addressed as the product matured, therefore I reverted to using\r\ncmd copy, xcopy, and robocopy, however, I wanted to use Copy-Item since in theory it provided\r\nthe capabilites of cmd copy and xcopy all in one.\r\n\r\nIt is disappointing to see that we have version 7.0 out now in beta and they still have not been\r\naddressed basic functionality.\r\n\r\nCopy-Item produces the expected results only 33% of the time and if rerun then it only produces\r\nthe same results 16% of the time.\r\n\r\nIf it was just a matter of learning a different syntax that would be one thing, however,\r\nwhen considering common use cases (destination exists, destination does not exist, recurse\r\nthe source directory tree, don't recurse the source directory tree), there does not appear\r\nto be a syntax which handles all of those cases AND can produce the same results when rerun.\r\n\r\nThis makes Copy-Item pretty much unusable excpet for all but the most simple types\r\nof copy operations.\r\n\r\nComparing Copy-Item to the other options, cmd copy generally works (with the exception of the\r\nnot supporting recursive and a few other cases), xcopy always works, and robocopy always\r\nworks OR works with a tweak to the syntax.\r\n\r\nBack in the PS 2.0 days I considered writing my own Copy-Item replacement but wanted to use\r\nbuilt in functionality as much as possible so I did not do that.\r\n\r\nAre there any plans to address these issues?\r\n\r\nThere seem to be several key issues:\r\n\r\n1) When the destination does not exist and you are copying more than one item it should\r\n prompt to ask if the destination should or not the destination should be a container.\r\n That covers both use cases where you want to copy multiple items to a single item or\r\n where you want to copy multiple items to a container.\r\n\r\n2) Recurse needs to be fixed so that when you specify recurse it recurses and when you\r\n don't specify recurse it does not create empty containers/folders.\r\n\r\n3) Why does it produce an error if a destination directory exists but not when a destination\r\n file exists? Based on PowerShell guidelines since overwritting a file is a destructive\r\n operation there should be a confirmation before doing so. Having the user change their\r\n $ConfirmationPreference from the default of 'High' is not the solution here because\r\n that would cause all sorts of other confirmations that do not currently occur. Since\r\n this constitutes destructive behavior the cmdlet should be changed to confirm.\r\n\r\nI'm sure there are other examples, but those seem to be the key areas causing the problems.\r\n\r\nThis basic functionality in the product really needs to be fixed so that we do not have\r\nto restore to using external tools to accomplish these basic tasks.\r\n\r\nAll the above was reproduced on PS 7 Preview 3 \r\n\r\n# Expected behavior\r\n\r\n```Documented with each example\r\n\r\n```\r\n\r\n# Actual behavior\r\n\r\n```Documented with each example\r\n\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-preview.3\r\nPSEdition Core\r\nGitCommitId 7.0.0-preview.3\r\nOS Microsoft Windows 10.0.18362\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n\r\n```none\r\n\r\n```\r\n","author":{"url":"https://github.com/JoeSalmeri","@type":"Person","name":"JoeSalmeri"},"datePublished":"2019-08-28T20:20:38Z","url":"https://github.com/PowerShell/PowerShell/issues/10458"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b30923ce-06d7-ab2d-4848-57471fbe21d4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E99A:23AED3:21DF0F:2EC5F1:6AFDA05C |
| html-safe-nonce | 94719820550903abdf284c44037a2a22646f189c7e836445e3c38001b45462b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTlBOjIzQUVEMzoyMURGMEY6MkVDNUYxOjZBRkRBMDVDIiwidmlzaXRvcl9pZCI6IjE3NDI2NDc4MTQ5NTQ3ODY5MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | baed41f2388b8c2508cb9a79bf5db301040e2a5d7ef5ae653ec1df3ec08182ad |
| hovercard-subject-tag | issue:486589100 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/10458/issue_layout |
| twitter:image | https://opengraph.githubassets.com/12f46009e6d9be2b1067cfabe5dfbaa5fe65f83069ed5a5f2667e458906aef6d/PowerShell/PowerShell/issues/10458 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/12f46009e6d9be2b1067cfabe5dfbaa5fe65f83069ed5a5f2667e458906aef6d/PowerShell/PowerShell/issues/10458 |
| og:image:alt | Steps to reproduce Issue Copy-Item behavior is inconsistent and produces unexpected results In some cases rerunning the same command produces different results The results are different than what c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JoeSalmeri |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width