Questa è la serie di script PowerShell in SharePoint 2010. Imparare un cmdlet (comando-let) un giorno.
Cmdlet(Command-let)
Cmdlet di comandi sono compilati installati con PowerShell. Quando si avvia “SharePoint 2010 Gestione PowerShell”, la console comincia con cmdlet pre-caricate.
Giorno 1:
Get-Command
Cmdlet Get-Command restituirà tutti commandlets registrati con PowerShell.
-Modulo
Passando valore Modulo con Get-Command restituirà solo disponibile del cmdlet sul modulo specifico.
Sintassi:
Get-Command -module <<Nome modulo>>
Esempio:
Get-Command -module Microsoft.SharePoint.PowerShell
Lascia un commento