Cleaning up the temp folder
Posted by: Richard Siddaway
This post
This post
Question on the forums related to folder sizes and last write time
Get-ChildItem -Path "C:\PersonalData\MyBooks\PowerShell and WMI"![]()
0 Comments
RSS Feed
Email a friend
February 18, 2012 2:05 PM
Count of files in a folder
Posted by: Richard Siddaway
File System, PowerShell
I was recently left a comment of a post
February 11, 2012 5:53 AM
Changing folder creation date
Posted by: Richard Siddaway
File System, PowerShell
A question on the forum asked about setting creation date on folders after they have been copied to match the source folder.
I created a source folder with three folders and modified the creation dates
Set-ItemProperty -Path c:\testsource\folder1 -Name CreationTime -Value...
September 12, 2010 5:52 AM
Deleting files older than a certain date
Posted by: Richard Siddaway
File System, PowerShell v2
A question on the ITKE forums asked how files older than a certain date (in this case two months) could be deleted without touching younger files.
![]()
0 Comments
RSS Feed
Email a friend
August 8, 2010 12:51 PM
How big’s my dit
Posted by: Richard Siddaway
Active Directory, File System, PowerShell v2, WMI
The ntds.dit file is used to store Active Directory data on a domain controller. Knowing how big this file is getting is a useful piece if information. One way is to log on to each domain controller and test the size using Windows explorer. A better way is to use WMI PS> "server02", "dc02"...
1
