No announcements
Found 2265896 threads
-
3 Votes
Powershell script to delete the "oldest" file.
If this item is a folder, by default Powershell denies to remove it, and you must add more parameters (-recurse -force).Answered | 7 Replies | 24312 Views | Created by Policia - Wednesday, November 9, 2011 9:20 PM | Last reply by Luc Fullenwarth - Thursday, May 25, 2017 8:34 PM -
2 Votes
How do I get the difference between the oldest and newest file in a directory
Ok first of let me say I am very new to Powershell 2.0.Answered | 5 Replies | 3045 Views | Created by jimillett - Thursday, July 26, 2012 2:42 PM | Last reply by Bigteddy - Thursday, July 26, 2012 3:27 PM -
1 Votes
command to find oldest email in mailbox
, but Bill_Stewart moved it here for some reason.Answered | 6 Replies | 13089 Views | Created by Karthick Elangovan - Friday, March 27, 2015 10:18 PM | Last reply by JEmlay - Friday, January 25, 2019 6:25 PM -
0 Votes
Unable to move several files at once to another directory using MOVE command
destination What is the point of the bolded section above other than specifying another file to move?Answered | 8 Replies | 14739 Views | Created by Sapiens IT team - Wednesday, April 17, 2013 5:37 PM | Last reply by Richard Mueller - Saturday, May 25, 2013 7:42 PM -
1 Votes
Moving Remote Directories with Powershell
I have moved it now.Answered | 2 Replies | 1524 Views | Created by TheITGuyZA - Monday, October 1, 2012 11:43 AM | Last reply by TheITGuyZA - Tuesday, October 2, 2012 5:37 AM -
1 Votes
SharePoint 2013 - Use PowerShell to Move Files From One Library to Another
Hi Tom, What do you mean about "I want to select the files to be moved by the view"?Answered | 1 Replies | 1245 Views | Created by Tom Molskow - Tuesday, May 15, 2018 6:55 PM | Last reply by Allen Bai - Wednesday, May 16, 2018 6:54 AM -
4 Votes
how to move files from one location to another location using powershell
I'm new to Powershell.Answered | 14 Replies | 166873 Views | Created by tanyatcs_blue - Wednesday, August 24, 2011 8:00 AM | Last reply by TrickyEDQ - Wednesday, February 15, 2017 6:49 PM -
3 Votes
Using Powershell to Move & Rename a File
Hi, I recommend putting the move-item command you need into a .ps1 file, and execute it from the .ps1 file; e.g.Answered | 9 Replies | 69692 Views | Created by Longstone - Wednesday, October 28, 2009 6:28 PM | Last reply by Mike Laughlin - Wednesday, August 6, 2014 3:52 PM -
0 Votes
Top 100 Oldest Computers
I've written a small PowerShell script that will use the Active Directory module (available on Win7/Server 2008 R2 or better) to gather computer objects within a specified ...Answered | 7 Replies | 796 Views | Created by OzChris - Tuesday, July 9, 2013 12:57 AM | Last reply by Mike Laughlin - Tuesday, July 9, 2013 4:21 PM -
0 Votes
Powershell Find File on Network Share
It will answer all of you issues: http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx ¯\_(ツ)_/¯Answered | 2 Replies | 4644 Views | Created by Mike_ST_Smith - Thursday, January 17, 2013 7:01 PM | Last reply by Mike_ST_Smith - Thursday, January 24, 2013 4:55 PM -
6 Votes
Using Powershell to find Powershell
Method:1 #use the below one-liner to query list of servers input to a text file in same directory.Answered | 7 Replies | 1265 Views | Created by BlackDynamite_ - Monday, February 13, 2017 3:45 AM | Last reply by jrv - Sunday, March 17, 2019 5:35 PM -
0 Votes
script for moving files and directory to archive
The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.Answered | 7 Replies | 10448 Views | Created by Avi G - Monday, November 10, 2014 5:46 PM | Last reply by George Woodford - Wednesday, December 20, 2017 9:13 AM -
0 Votes
Problems finding the size of a home directory using Powershell
I would also like to output the results using out-file cmdlet to a text file.Answered | 7 Replies | 11834 Views | Created by NTD_13 - Monday, November 9, 2009 5:34 PM | Last reply by dharric72 - Wednesday, July 7, 2010 3:43 PM -
0 Votes
Script powershell to export a vm and delete the oldest folder
May I ask another question?Answered | 3 Replies | 979 Views | Created by Julio Melo - Thursday, February 2, 2017 4:31 PM | Last reply by Julio Melo - Friday, February 3, 2017 10:10 AM -
0 Votes
Using Powershell to find the oldest file and then move it to another directory
It does not throw any errors but it also does not move the file.Answered | 5 Replies | 5920 Views | Created by gculbert70 - Friday, May 12, 2017 11:41 AM | Last reply by gculbert70 - Friday, May 12, 2017 4:27 PM -
7 Votes
Run all exe files in directory using PowerShell
You will find it has better performance than Where-Object.Answered | 1 Replies | 24612 Views | Created by it-praktyk - Monday, March 26, 2012 11:18 PM | Last reply by Boe Prox - Tuesday, March 27, 2012 1:03 AM -
0 Votes
Copying file from one directory to another directory
If you want to write some log file if the file not exists, then make an executable/bat file to do the action (If exist copy file else write error log).Answered | 2 Replies | 5131 Views | Created by exotichead - Monday, June 14, 2010 7:43 PM | Last reply by Manikandan S - Tuesday, June 15, 2010 7:19 AM -
4 Votes
Search xml file - find string - move file to folder or email file
If it finds the string in the file, then move to a folder, and POST to a HTML page.Answered | 11 Replies | 6107 Views | Created by Ed Wong - Tuesday, August 17, 2010 8:40 PM | Last reply by mjolinor - Wednesday, September 1, 2010 10:46 PM -
0 Votes
How to delete the oldest file in a folder?
Hi Denesh i check your code its a 2008 SSIS package and i had to modify some part to make it working Changes 1- in the script i added "Imports ...Answered | 5 Replies | 4105 Views | Created by Revathy Menon - Wednesday, March 10, 2010 12:48 AM | Last reply by Nik - Shahriar Nikkhah - Wednesday, March 10, 2010 9:17 PM -
0 Votes
moving files with .bat by age
The problem is finding the way to take the older file when there is only minutes difference between files, if there was at least a day difference I would just ...Answered | 20 Replies | 1368 Views | Created by JasonDrake - Monday, January 20, 2014 8:42 AM | Last reply by Frederik Long - Tuesday, January 21, 2014 7:08 AM - Items 1 to 20 of 2265896 Next ›
No announcements