Use Powershell Command to Search A Folder Then Move Any Subfolders and Where The Folder Name Contains "ARC"

Hi All,
As a complete novice to the powershell world I am looking for some direction in a script to manage my work project data lifecycle.
I have a share on our production server (\\PROD1\Projects) which contains folders starting 99ENGXXX that contains project work, when staff rename the folder to ARC99ENGXXX, I am trying to work out a powershell command to move the folder and its contents
to a share on a archive server (\\ARC01\Projects). Both are windows servers.
Any help would be greatly appreciated!
Sammy

Try this (Assumes you are running at least PowerShell V3):
Get-ChildItem "\\PROD1\Projects" -Recurse -Filter "ARC*" -Directory |
Move-Item -Destination "\\ARC01\Projects"
Boe Prox
Blog |
Twitter
PoshWSUS |
PoshPAIG | PoshChat |
PoshEventUI
PowerShell Deep Dives Book

Similar Messages

  • How to search a property value in a TDMS and return the group name.

    Hi.
    Please help
    I want to search a TDMS file by property value and then return the group names or channels.
    I am using labview 8.2 with the connectivity toolkits.

    The error # is -2558
    I try to close the TDMS file before it reach the search part but still give me the error code -2558
    Attachments:
    search and read property value per group.jpg ‏77 KB

  • Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc. This is a new problem and was not the case before.

    Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc.
    This is a new problem and was not the case before.

    Works perfectly fine for me with the latest Reader version (11.0.09).
    You write that it worked "before"; before what?  An update?  Update from what version to what version?

  • How to get Systemstate Backup size using PowerShell command in Windows 2008 R2

    Hi,
    We using WBSummary command to get completed backup status.
    I need to find how much data is backed up  using powerShell command .
    Is there any way to get the details , i can see the GUI but no in command.
    Please advise
    Regards Gopi K

    Hi,
    You mentioned that you can see the system state backup size in the GUI. Does the backup size mean the amount of date transferred?
    It seems that there is no such a PowerShell to get Systemstate Backup size. You may need to you need a PowerShell scripts to do this work.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=ITCG
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Retrieve all pages in a site collection using powershell command

    Hi all,
    I need to retrieve all pages in a site collection and i wanted to display it in a csv file using powershell command.Please help.
    Regards,
    Praveen

    Hi Praveen,
    Here are two blogs would be helpful:
    PowerShell script to Enumerate Sites, Sub-sites and print them in a .csv file
    http://www.sharepointfix.com/2012/02/powershell-script-to-enumerate-sites.html
    Powershell to Loop through all SharePoint sites and pages
    https://tjendarta.wordpress.com/2013/03/19/powershell-to-loop-through-all-sharepoint-sites-and-pages/
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I have several pdf files in my computer which are organized in folders. I want to transfer them to IBooks (in my Ipad) and keep the folder structure I use in my computer. Is it possible to do it? Do I need any other app?

    I have several pdf files in my computer which are organized in folders. I want to transfer them to IBooks (in my Ipad) and keep the folder structure I use in my computer. Is it possible to do it? Do I need any other app?

    By design, the organizer (and any other database management systems) is there to prevent you from duplicating your media files. The catalog management allows you to have the same image in different categories or albums. Duplication in different folders is to be absolutely avoided.
    The same image file can have multiple tags like 'family', 'vacations', 'birthdays' and be present in three different albums with the same names. On obvious advantage is less disk space. Another one with your present folder system is that if you edit one of your duplicates, the other ones are unchanged.
    I don't see an easy way to make your present folder structure simplified for the organizer ...

  • HT4623 When I download an app from the App Store, it jus shows "waiting" and doesn't download as it used to do earlier... Then after a day or 2 the app is downloaded... I dunno wuz d problem, can someone help me :(

    When I download an app from the App Store, it jus shows "waiting" and doesn't download as it used to do earlier... Then after a day or 2 the app is downloaded... I dunno wuz d problem, can someone help me

    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.

  • Is there any way to maintain the folder structure using the audio converter

    hi, please, i need help
    I want to convert some 24 bit wav files into 24 bit Apple Lossless files.
    dBpoweramp converter doesn't allow 24 bit files for Apple Lossless
    iTunes doesn't keep the folder structure, is there any option to change that?
    thanks

    When iTunes does a format conversion, it stores the new file in an Album folder within an Artist folder. It does not matter where the original file is. It does not provide any other option.

  • I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder "Music" can't be opened because you don't have permission to see its contents."?

    I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder “Music” can’t be opened because you don’t have permission to see its contents".  Why cant i access the files from my old mac?  I tried the time machine and that isnt working either.  I have files that I need to use on my new mac, all my old programs and such.  I thought they said it was easy to get your files from one mac to another.  Please help.

    Your account names are probably different on the two Macs. If you know the UNIX command line, open a terminal window and run:
    $ id 
    You should see a line that starts with something like this:
    uid=501(your_user_id_here)
    now check the owner of the folder you copied over:
    $ ls -ld Music
    drwx------+ 8 some_user_id_here  staff  272 May 14 16:08 Music
    Do the IDs match? If not, you could change the ownership. Say your id is "johnsmith"
    $ chown -R johnsmith Music
    Now try and access it with iTunes.

  • HT1751 I did all of the above and at the "Consolidate files" screen I clicked "ok" then it sayd "copying files failed. the file name was invalid or too long" and I had to click "OK"  I cannot consolidate the files to transport  to my external harddrive -h

    I would like to backup my itunes to my external hard drive
    I did all the steps up to "organize Liberary" which at this point I checked the box and the clicked"ok"
    it then said "copying files failed.  The file name was invalid or too long" "OK"
    It will  not let me consolidate the files so I can transfer to my external hard drive
    what am I doing wrong - any suggestions?
    thanks,

    Are you using consolidate files to bring in stray files to your main iTunes Media folder before backing up, or to copy the media folder to the external drive as part of backing up? If it is the latter then you are taking the wrong approach. See this user tip.
    Run my script Unconsolidated on the library. It will show you the remaining unconsolidated files which might give a clue as to which files iTunes is having a problem with. You can consolidate selected files in batches (select, right-click) as opposed to trying to do everything in one go. Alternatively you could try moving the remaining unconsolidated files with ConsolidateByMoving as long as this step is a precursor to a backup..
    tt2

  • Adding a Patch to a Pocket and keeping the Folds and Wrinkles - CS3

    I have a photo of a gentleman wearing a typicl denim shirt and I would like to add a patch, or an emblem, to the shirt pocket.  I would like the patch to follow the contours of the shirt, including the folds and wrinkles.  How can that be done in CS3?  Thanks
    Using CS3, Windows Xp

    Thanks for the reply.  I wasn't looking for an automated way to get the job done.  I tried using the transform tools last week, and the results were OK for the specific image I was working on, but something else (displacement filter?) might be better still.  Have to play around with that.
    Kind Regards,
    SCB
    Date: Wed, 5 Oct 2011 10:46:51 -0600
    From: [email protected]
    To: [email protected]
    Subject: Adding a Patch to a Pocket and keeping the Folds and Wrinkles - CS3
    Re: Adding a Patch to a Pocket and keeping the Folds and Wrinkles - CS3 created by Noel Carboni in Photoshop Windows - View the full discussion
    I don't think of an easy automated way to do it.  I'd probably paste it on there, maybe distort / transform it a bit as needed (e.g., if the wrinkles are deep), then use the Burn and Dodge tools to add subtle shading to make it look believable.
    -Noel
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3955361#3955361
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3955361#3955361. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Windows by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Urgent to group and show the folder metadata base on profile in UCM

    Hi All,
    My requirement is I have to group and show the folder metadata for folder creation, updating and information based on profile.
    Suppose If I want to create, update and information a HR folder that time I have to show only HR metadata
    If I want to create, update and information a FINANCE folder that time I have to show only FINANCE metadata
    If I want to create, update and information a standard folder that time I have to show only standard metadata
    Example
    Someone accessing a ‘standard’ folder would not see the HR group of metadata fields; instead they should just see the ‘standard’ profile metadata fields for said folder. Conversely, when someone is accessing a ‘HR’ folder, they should see the ‘HR document’ metadata profile for that folder.
    Please help me is there any way which can I approach this by through configuration.
    Thanks in advace
    Kishore.
    Edited by: kishore on Jul 25, 2011 1:44 AM
    Edited by: kishore on Jul 25, 2011 10:22 PM

    I checked the standard behaviour. When I create few profiles I am able to choose the profile I want while creating a new folder (there is an option Switch Profile).
    Therefore, the only thing that remains is auto-select the profile you want to use. Note that profiles by default are selected by the Trigger Field (configured in Configuration Manager). This means you need to combine requirements you have for your folders and for your content items. This can be quite challenging. However, you can also 'Use rule activation condition', which is assigned to rules contained in the profile. There, you can work with any metadata and other system variables (like checkin vs. search defined in dpAction - see this link for further details: Value of dpAction
    In your case, you could use folder name, or create a surrogate metadata field containing list of values and use it.

  • V29.0.1 defaults new bookmarks to the Unsorted folder. Mozilla, let US decide where the default should be!!

    If I click the Bookmark Star once, the new bookmark defaults to the Unsorted Bookmarks Folder.
    I want to click it once and send it to the Bookmarks Menu, the way the previous version did. Not double click the star, then two more clicks to change the folder and accept the new folder choice. And not Control-D either.
    Please give users the option to use the previous version's default bookmarking behaviour.

    That doesn't solve the issue - the default has changed and cannot be altered by users. And It still requires more clicks.

  • I am having issues suddenly exporting files. It reads error exporting 25 files, As I attempt to choose another destination folder the folders show a black square where the folder sign previously was. I am in my busy season and this has created a huge dela

    I am having issues suddenly exporting files. It reads error exporting 25 files, As I attempt to choose another destination folder the folders show a black square where the folder sign previously was. I am in my busy season and this has created a huge delay!!! HELP!!!!

    oh and if you use a creative cloud version of Lightroom it could also be that the logon to the cloud is messed up. Logging out and logging back in from preferences in the creative cloud app will fix that. Due to the release of Lightroom CC it appears that adobe's servers have been overwhelmed a bit And many people have strange problems that are solved by logging out and back in.

  • I have been using Adobe Photoshop since 1998. I recently replaced my computer and placed the Adobe Photoshop 5.0 CD in to install, and found that could not load the software, and referred me to Adobe. What should I do?

    I have been using Adobe Photoshop since 1998. I recently replaced my computer and placed the Adobe Photoshop 5.0 CD in to install, and found that could not load the software, and referred me to Adobe. What should I do?

    According to this forum post from the time of the shutdown, it is only those directly affected.
    Activation server shut down for Creative Suite 2, Acrobat 7, and Macromedia products
    Here is a list from that link
    If your software is affected by the activation server shut down then you will receive an error that the Activation server is unavailable.  The specific affected products are as follows:
    Acrobat 7.0 - Windows
    After Effects 7.0
    Audition 3.0
    Captivate 1.0
    Contribute 2.0
    Contribute 3.0
    Creative Suite 2.0
    Director MX 2004
    Dreamweaver MX 2004
    Fireworks MX 2004
    Flash Paper 2.0
    Freehand MX
    GoLive CS2
    GoLive 9.0
    Illustrator CS2
    InCopy CS2
    InDesign CS2
    Macromedia Studo MX 2004
    Photoshop CS
    Photoshop CS2
    Photoshop Elements 4.0
    Photoshop Elements 5.0
    Premiere Pro 7.0
    Production Studio Premium

Maybe you are looking for

  • How can I get Verizon to stop emailing me?

    I am not a verizon customer, but earlier this year I was originally getting emails for bills from three different people, all using variations of my email address with different punctuation. I was able to cancel most of them, but I can't cancel one o

  • ICR - Erroneous behavior

    Dear Ralph, We have one issue with ICR tool, we have a document with terms of payment like istallment payments in the client position, so this open items can be seen with the same document number, amount and reference. When we execute the transaction

  • How do I delete remembered user names that are outdated or no longer in use?

    I have developed a long list of user names that pop up and are no longer in use when I go to sign into a web site. As the list gets longer I would like to have only the user names that are up to date and in use. I have not figured how to manage user

  • Share optical drive

    Is it possible to use CD sharing to access Software and music CDs on a macbook air ? If so can the

  • How to BATCH Upload documents?

    I built my own content area that supports Upload/Download files. I need a way to add DOCUMENTS to that content area without adding the document through the PORTAL NAVIGATOR (scripting !!). Is there any API that I can use ?? null