Skip to content
  • Home
  • About
  • Links
  • Posts
  • Donate

Powershell Administrator Blog

Those who forget to script, are doomed to repeat their work

Tag: Move-item

Move-item and files with [ and ] in its filename

Posted on 05/01/2015 by Powershell Administrator

I was researching a bug in a script of mine, where most files would be moved, exept some. The behaviour seemed irregular, until I noticed that the files not being moved had 1 thing in common. They all had brackets [ ] in their file name. It appears that if you use Move-item -Path <filename> … Continue reading Move-item and files with [ and ] in its filename →

Tagged Move-itemLeave a comment

Recent Posts

  • Add user(s) to group(s) – GUI
  • Get Remote Desktop Services info
  • Copy AD group members
  • Exchange powershell .Value.toMB()
  • Change mailbox language
  • Get ACLs on non-inherited folders
  • Get AD RDS Profile information
  • [decimal] conversion has some unexpected behavior depending on culture settings
  • SetAccessRule fails “The trust relationship between this workstation and the primary domain failed.”
  • Passing user credentials to a remote computer

Recent Comments

  • Ed P on Download SolarEdge solar production data and save to csv
  • K0EN74 on Download SolarEdge solar production data and save to csv
  • Powershell Administrator on Download SolarEdge solar production data and save to csv

Categories

Tags

.NET Active Directory AD Automatic Documentation Error-Handling export to csv Get-Process Invoke-Webrequest non-default Notepad++ updater Powershell RDS SQL Text-to-speech version

Archives

OcinO – Powershell

OcinO – Powershell

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 647 other followers

Create a website or blog at WordPress.com
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Our Cookie Policy