2010 custom powershell cmdlet,Visual Studio 2010 articles">
Steps Involved:
Install the snapin: Install.bat @SET GACUTIL="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe" @SET NSTALLUTIL="C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe" %GACUTIL% -if %~dp0anavijai.SP2010.PowerShell.dll %INSTALLUTIL% %~dp0anavijai.SP2010.PowerShell.dll Pause Register the snapin: Add-PSSnapin anavijai.SP2010.PowerShell Get-Command - Module anavijai.SP2010.PowerShell Snapin example: Get-SPWebTitle - url "http://anavijai:1111"