I am looking for a method to return the folder creator name and date without using the Get-PWFolders -Slow option. I have tried Get-PWFolderPathAndProperties but that does not have the information. Is there a way to get this information without using the -Slow option of Get-PWFolders?
What version of PWPS_DAB are you running? I'm running1.9.0 and I just tried:
$fldr = Get-PWFolders -FolderPath 'path_to_folder' -JustOne
and I can see the date the folder was created in the $fldr.CreateDateTime and the creator name in $fldr.FolderCreatorName (.FolderCreator has the full user object)
Thanks I have several folders I need to return the info on - I guess I will have to get them all (without -slow) and then loop through them with the -JustOne switch to get the creator information for each folder.
I played around with this a bit and this works, but I found it to be slower on my system then just using -slow. This was for 220 folders.
$fldrs = Get-PWFolders -FolderPath 'path\to\test\folder' | foreach { Get-PWFolders -FolderID $_.ProjectID -JustOne }
Kevin, try that without piping it. I find it to be a bit quicker.