นี้คือชุดของ PowerShell เขียนสคริปต์ใน SharePoint 2010. เรียนรู้ cmdlet (คำสั่งให้) วัน.
Cmdlet(คำสั่งให้)
ของ cmdlet ที่รวบรวมคำสั่งติดตั้งกับ PowerShell. เมื่อคุณเริ่มต้น “SharePoint 2010 PowerShell การจัดการ”, เริ่ม console กับ cmdlets ก่อนการโหลด.
วัน 1:
คำสั่งรับ
Get-Command cmdlet จะกลับ commandlets ทั้งหมดลงทะเบียนกับ PowerShell.
-Module
Passing Module value with Get-Command will return only the cmdlet’s available on the specific Module.
วากยสัมพันธ์:
Get-Command -Module <<ชื่อโมดูล>>
ตัวอย่างเช่น:
Get-Command -Module Microsoft.SharePoint.PowerShell
ปล่อยให้ตอบกลับ