New Cmdlets i would add...

Mar 9, 2012 at 2:21 PM

Hi there, i would like to add some useful Cmdlets i found over the time...

PublishAllPages: Checks-in and Approves all Pages in a Web Application. (I can send you the code)

And maybe these Cmdlets from another Codeplex Download called:

#   S H A R E P O I N T   A D M I N I S T R A T I O N    F U N C T I O N S
#============================================================================
#  The following file contains common SharePoint administration functions.
#
#  Check-ReplicateChanges $userName
#     Checks to see if an account has Replicate Changes rights in AD.
#     Important tool used to verify setup for profile sync service accounts.
#     NOTE! Does not work for checking domain administrator accounts.
#     Thanks to Bugra Postaci at http://bit.ly/j4xQrN
#
#  Pause
#     Waits for the user to press a key before continuing.
#
#  Banner $ScriptName $Environment $LastModified $Version $ScriptDescription
#     Displays a script banner when running a script giving information on
#     the creator of the script, the purpose, version and last modification date.
#
#  WaitForDeploymentToFinish $SolutionFileName
#     Waits until the deployment of a solution package has completed.
#     Use in combination with, for example, Install-SPSolution
#
#  Get-ScriptDirectory
#  Get-ScriptDirectory $file
#   Gets the path of the current script folder. Use with optional $file parameter
#     to return the full path for the specified file in the current folder.
#
#  Set-ServiceAccount $service $account
#     Sets the service account for a SharePoint service to an AD domain user.
#     Example: Set-ServiceAccount "SPTraceV4" "DEV\SP_SERVICE"
#     Thanks to Octavie van Haaften at http://bit.ly/lG6AZ2
#
#  Export-Solutions
#  Export-Solutions $path
#     Exports the farm solutions from your farm to the file system.
#     Optionally, specify target folder using $path.
#     Thanks to Shane at http://bit.ly/k82a5Z
#
#  Enable-DeveloperDashboard
#     Enables the developer dashboard
#
#  Reset-PageLayouts $Identity
#     Un-ghosts and resets page layouts to site defintion
#     Thanks to Dirk Van den Berghe at http://bit.ly/rayyne