All Questions
Tagged with spfile powershell
2 questions
1
vote
1
answer
3k
views
File gone after using SPFile.MoveTo
I am trying to move files from the RootFolder to a subfolder via PowerShell (would like to keep SPItem.Id from changing if possible). The code I have used is pretty straight forward. starting to ...
1
vote
1
answer
961
views
Every SPFile is null in a document library using PowerShell?
What the crap is this about?
I whipped up a fairly simple run-once and discard PowerShell script to iterate through all of the files in a list and make a simple change. The problem is every SPFile I ...