skip to main
|
skip to sidebar
Technological tips and reminders
Monday, September 9, 2013
Script to find files in size greater than desired size
Very useful when you need to find large size files on your system. This command can be run locally or on remote system as long as you have admin rights to remote system.
Get-ChildItem
\\servername\c
$
-
Recurse
-
ErrorAction
"SilentlyContinue"
|
Where-Object
{
$_
.
Length
-
gt
100
MB
}
|
Export-Csv
c
:
\temp\myLargeFilesOnC_Report1
.
csv
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
My Blog Search
Labels
Active Directory
(3)
ASA
(1)
Blackberry
(1)
CentOS
(1)
CISCO
(1)
Computer Services
(1)
DHCP
(1)
DNS
(1)
Droid
(1)
Email
(1)
ESX
(3)
ESXi
(3)
ESXTOP
(1)
Exchange 2010
(8)
IT Tools
(2)
Linux
(2)
Lync
(1)
Lync 2013
(1)
Microsoft
(10)
Microsoft Shares
(1)
Microsoft Surface Pro
(1)
Mobile
(1)
MSN
(1)
Networking
(3)
NTP
(1)
Outlook
(3)
PowerCLI
(2)
Powershell
(13)
Storage
(1)
Ubuntu
(1)
VMware
(8)
Windows 7
(3)
windows 8
(2)
windows server 2003
(3)
Windows Server 2008
(6)
Windows Server 2012
(1)
XP
(2)
Followers
Blog Archive
►
2015
(2)
►
February
(1)
►
January
(1)
►
2014
(3)
►
March
(2)
►
January
(1)
▼
2013
(19)
►
October
(2)
▼
September
(4)
More usefull powershell commands
Basic help powershell commands that make life easier
Script to find files in size greater than desired ...
Gracefully shutdown VM using PowerCLI
►
August
(7)
►
July
(2)
►
May
(1)
►
February
(3)
►
2012
(4)
►
May
(1)
►
April
(3)
►
2009
(13)
►
November
(7)
►
October
(1)
►
September
(1)
►
August
(4)
About Me
Robert
View my complete profile
No comments:
Post a Comment