Link to home
Start Free TrialLog in
Avatar of JR52MAR
JR52MAR

asked on

Enumerate all items whose status is set to pending or draft

Hi There

I have a number of Red Cross's appearing for my end users on certain images;

Is there a powershell command that can be run to find all items in a Sharepoint farm whose status is draft or pending and export to csv?

Thanks

JMR
Avatar of Jamie McAllister
Jamie McAllister
Flag of Switzerland image

Avatar of JR52MAR
JR52MAR

ASKER

What would need to be changed?
As well as $list.CheckedOutFiles you'd need to add enumerations to get draft as well.
Avatar of JR52MAR

ASKER

Thanks Jamie, but still not sure what needs to be changed, was hoping someone would supply the step by step :-)
Avatar of JR52MAR

ASKER

still loooking for answer on this
ASKER CERTIFIED SOLUTION
Avatar of Jamie McAllister
Jamie McAllister
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial