En liste over alle PowerShell Kommando-lad os i SharePoint 2010

Dette er den serie af PowerShell scripts i SharePoint 2010. Lær en cmdlet (kommando-let) en dag.

Cmdlet(Kommando-let)

Cmdlet s er udarbejdet kommandoer installeres med PowerShell. Når du starter “SharePoint 2010 Management PowerShell”, konsollen starter med pre-loaded cmdlets.

Dag 1:

Get-Command

Get-Command cmdlet vil returnere alle commandlets registreret med PowerShell.

-Modul

Passing Module value with Get-Command will return only the cmdlet’s available on the specific Module.

Syntaks:

Get-Command -Module <<Modul navn>>

Eksempel:

Get-Command -Module Microsoft.SharePoint.PowerShell

Efterlad et svar

Du kan bruge disse HTML-tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>