ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. unprintable
    Log in to post
    • All categories
    • DustinB3403D

      Powershell suppress specific error message and not others

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion powershell file editing administration windows smb unprintable
      4
      1 Votes
      4 Posts
      1k Views
      P

      Why not filter out the files that you don't need to rename?
      Summat like:

      (Get-ChildItem -Path "path\to\folder" -Recurse | Where-Object {$_.Name -contains '•'} | Rename-Item -NewName {$_.Name -replace '•',''} -verbose -ErrorAction SilentlyContinue -ErrorVariable daError)
    • DustinB3403D

      File Management removing unprintable characters

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion users file management unprintable file system archiving
      47
      1 Votes
      47 Posts
      5k Views
      scottalanmillerS

      @DustinB3403 said in File Management removing unprintable characters:

      @scottalanmiller said in File Management removing unprintable characters:

      @DustinB3403 said in File Management removing unprintable characters:

      @Pete-S Using a bullet point in a damn folder or file name is not at all normal!

      Just discovered that someone on this forum was sending us files with bullet points in their names. But they are printable in our systems and cause no issues.

      What file system are you using, some of the bullet points I've found are for actually creating the blip noises on archaic systems.

      Don't know, our storage is a cloud platform.

    • 1 / 1