Home

SPO PowerShell

%3CLINGO-SUB%20id%3D%22lingo-sub-757567%22%20slang%3D%22en-US%22%3ESPO%20PowerShell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-757567%22%20slang%3D%22en-US%22%3E%3CP%3Eok%20so%20I'm%20missing%20something.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20a%20powershell%20expert%20but%20usually%20I%20can%20muddle%20through%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20googled%20about%20a%20hundred%20different%20ways%20trying%20to%20figure%20out%20something%20that%20seems%20like%20it%20should%20be%20easy.%26nbsp%3B%20Use%20PowerShell%20to%20do%20stuff%20in%20SharePoint%20online.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20installed%20management%20shells%2C%20packages%2C%20modules%2C%20etc.%26nbsp%3B%20Tried%20finding%20code%20online%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEventually%20I%20have%20figured%20out%20that%20MS%20released%20something%20new%20last%20year%20which%20basically%20makes%20all%20scripts%20I%20can%20find%20on%20the%20internet%20useless...%20some%20are%20simple%20differences%20use%20SPO%20instead%20of%20SP...%20but%20seems%20like%20whole%20commands%20are%20gone%3F%26nbsp%3B%20For%20example%20GetFile%3F%26nbsp%3B%20When%20I%20list%20the%20commands%20I%20don't%20see%20this%20option%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20simple%20concise%20location%20for%20information%20on%20how%20to%20use%20PowerShell%20today%20to%20Manage%20SharePoint%20and%20to%20do%20things%3F%26nbsp%3B%20For%20example%20I%20would%20like%20to%20be%20able%20to%20unlock%20files%20which%20erroneously%20say%20they%20are%20locked.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ETerry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-758300%22%20slang%3D%22en-US%22%3ERe%3A%20SPO%20PowerShell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-758300%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F259402%22%20target%3D%22_blank%22%3E%40Mattw112%3C%2FA%3E%26nbsp%3B%20You%20can%20find%20all%20cmdlets%20for%20SharePoint%20online%20in%20the%20Microsoft%20support%20site.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fsharepoint-online%2Findex%3Fview%3Dsharepoint-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fsharepoint-online%2Findex%3Fview%3Dsharepoint-ps%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20addition%20to%20that%20the%20SharePoint%20PnP%20cmdlets%20do%20many%20things%20that%20the%20regular%20cmdlets%20don't.%20These%20are%20also%20documented%20in%20the%20same%20place%2C%20different%20page.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fsharepoint-pnp%2F%3Fview%3Dsharepoint-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fsharepoint-pnp%2F%3Fview%3Dsharepoint-ps%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Mattw112
New Contributor

ok so I'm missing something.

 

I'm not a powershell expert but usually I can muddle through it.

 

I have googled about a hundred different ways trying to figure out something that seems like it should be easy.  Use PowerShell to do stuff in SharePoint online.

 

I've installed management shells, packages, modules, etc.  Tried finding code online etc.

 

Eventually I have figured out that MS released something new last year which basically makes all scripts I can find on the internet useless... some are simple differences use SPO instead of SP... but seems like whole commands are gone?  For example GetFile?  When I list the commands I don't see this option?

 

Is there a simple concise location for information on how to use PowerShell today to Manage SharePoint and to do things?  For example I would like to be able to unlock files which erroneously say they are locked.

 

Thanks,

Terry

1 Reply

@Mattw112  You can find all cmdlets for SharePoint online in the Microsoft support site.

 

https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/index?view=sharepoint-ps

 

In addition to that the SharePoint PnP cmdlets do many things that the regular cmdlets don't. These are also documented in the same place, different page.

 

https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/?view=sharepoint-ps

 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
38 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
12 Replies