Get-PNPFolderItem doesn't show checked out state?

%3CLINGO-SUB%20id%3D%22lingo-sub-2332847%22%20slang%3D%22en-US%22%3EGet-PNPFolderItem%20doesn't%20show%20checked%20out%20state%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2332847%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20I%20run%20remove-pnpfolder%20I%20receive%20an%20error%20that%20a%20file%20is%20checked%20out%20for%20editing.%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20run%20get-pnpfolderitem%2C%20the%20checkedoutbyuser%20property%20is%20blank%20and%20the%20CheckOutType%20value%20is%20%22Online%22%3C%2FP%3E%3CP%3ESo%20why%20is%20there%20confusion%20between%20the%20two%20cmdlets%3F%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22remove-pnpfoldererror.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F278882i45475C496BDF17D1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22remove-pnpfoldererror.png%22%20alt%3D%22remove-pnpfoldererror.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22remove-pnpfoldererror1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F278883iD2003DF2CDBE07F0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22remove-pnpfoldererror1.png%22%20alt%3D%22remove-pnpfoldererror1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAppreciate%20any%20inputs%3C%2FP%3E%3CP%3E%E2%80%83%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2332847%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

If I run remove-pnpfolder I receive an error that a file is checked out for editing. 

If I run get-pnpfolderitem, the checkedoutbyuser property is blank and the CheckOutType value is "Online"

So why is there confusion between the two cmdlets? 

 

remove-pnpfoldererror.png

remove-pnpfoldererror1.png

Appreciate any inputs

 

0 Replies