Windows 10: move file with powershell not working as expected

Discus and support move file with powershell not working as expected in Windows 10 Gaming to solve the problem; Probably someone can help meWe have a lot off different files in a directory. We want to move al files from a month and older than three days with a... Discussion in 'Windows 10 Gaming' started by Pascal Wenders, Feb 17, 2023.

  1. move file with powershell not working as expected


    Probably someone can help meWe have a lot off different files in a directory. We want to move al files from a month and older than three days with a part of the name the same to another folder.When there are more files available thru the selection, than the files are moved to destination folder. But when there is only 1 file, the file is moved to a level higer and the name will be \MAR22 and not placed in the folder \MAR22Get-ChildItem -path $bronlocation+"*."+$item.extension Where-Object {$_.LastWriteTime -lt Get-Date.AddDays-3} &

    :)
     
    Pascal Wenders, Feb 17, 2023
    #1
  2. Kursah Win User

    PowerShell instead of Commandline in Creators Update

    Interestingly enough my personal laptop just got the update...and still has Command Prompt listed, not PowerShell...

    Edit: Not that it matters...I use both regularly. *Toast :toast:
     
    Kursah, Feb 17, 2023
    #2
  3. lvgandhi Win User
    powershell help does not seem to work

    Thanks for response.
    I have done chkdsk C: /f also.
    still not working. I tried your suggestion also. That also does not work.
    But as I said get-help dir works. Please see below

    move file with powershell not working as expected 195594d1531492523t-powershell-help-does-not-seem-work-pshelperror2.png
     
    lvgandhi, Feb 17, 2023
    #3
  4. KeithM Win User

    move file with powershell not working as expected

    How to change the WinX menu, including Powershell/Powershell (Admin)

    This part intrigues me. As suggested earler, please post a screenshot of the error message. Also, please clarify/test the follwoing:
    1. Can you start PowerShell from the Start Menu?
    2. If you navigate to %localappdata%\Microsoft\Windows\WinX\Group3, does PowerShell launch from the shortcuts there?
    3. If #1 works & #2 doesn't, compare (& post) the target text from each shortcuts properties. For the Start Menu shortcut, right-click & select Open file location to navigate to the Start Menu folder.

    Keith
     
    KeithM, Feb 17, 2023
    #4
Thema:

move file with powershell not working as expected

Loading...
  1. move file with powershell not working as expected - Similar Threads - move file powershell

  2. "New" Minseweeper is not working as expected

    in Windows 10 Gaming
    "New" Minseweeper is not working as expected: Hello thereI was playing minesweeper for a long time enjoyed it in most versions so far. On Windows 10 Home with all the latest updates that were available i was playing it mostly in adventure mode. 2-3 days ago it was "upgraded" to a "newer" version. At the first launch of...
  3. move file with powershell not working as expected

    in Windows 10 Software and Apps
    move file with powershell not working as expected: Probably someone can help meWe have a lot off different files in a directory. We want to move al files from a month and older than three days with a part of the name the same to another folder.When there are more files available thru the selection, than the files are moved to...
  4. Backup not working as expected

    in Windows 10 Installation and Upgrade
    Backup not working as expected: Hi, I have W'10, and two external drives that I backup selected sub-directories to.The problem seems to have started when I added by second physical backup drive Drive_T and Drive_S.When I was staying with Drive_T only, backup worked fine. But now when I switch from Drive_T...
  5. Backup now working as expected

    in Windows 10 Installation and Upgrade
    Backup now working as expected: Hi, I have W'10, and two external drives that I backup selected sub-directories to.The problem seems to have started when I added by second physical backup drive Drive_T and Drive_S.When I was staying with Drive_T only, backup worked fine. But now when I switch from Drive_T...
  6. Workgroup not working as expected

    in Windows 10 Ask Insider
    Workgroup not working as expected: Hi all I am having trouble getting my workgroup to work properly between my pc (ethernet) and laptop (wifi). My PC can see the shared folders from the laptop, but the laptop cannot see the shared folders from the PC. I note that under the network folder my laptop can see...
  7. File Explorer Search not working as expected

    in Windows 10 Network and Sharing
    File Explorer Search not working as expected: Hi, I have Word & Excel files with multiple dashes in the the filename. For example, ABC-DEF-GHI.xlsx If I search for DEF in File Explorer then nothing appears. Is there a way around this? Replacing either of the dashes by a space works.....but I have a lot of files...
  8. Windows Photos is not working as expected

    in Windows 10 Network and Sharing
    Windows Photos is not working as expected: When I open Windows Photos on my Lenovo touchpad and try to scroll, this feature is not working. Moreover this app consumes plenty of CPU. Could you help me?...
  9. Spell Check is not working as expected

    in Windows 10 Customization
    Spell Check is not working as expected: Once in a while when I write something using Edge, I face an issue with Spell Check - it doesn’t correct the misspelled words. Because it is not an ongoing issue, it is difficult to spot the cause of it. I made sure that Highlight Misspelled Words are on. But this feature...
  10. File explorer and mouse cursor not working as expected

    in Windows 10 BSOD Crashes and Debugging
    File explorer and mouse cursor not working as expected: I open File explorer and just hovering over documents,downloads,videos,... etc. will make my cursor flicker between loading selecting and pointing and i've even spam clicked not on a file but just a blank page and that has made it even worse it opened windows media player. I...