Ir al contenido principal

Entradas

Mostrando las entradas etiquetadas como PowerShell

Signing PowerShell Scripts

ebook Chapter 10: Digital Signatures for Your Scripts Can't believe but this is True with code signing: “Unknown Error” Signing Powershell Script How To: Schedule PowerShell Script for an Exchange Task Ref: ebook Master-PowerShell

Start and Stopping services PowerShell

open PowerShell console with admin privileges (right click->run as administrator) display services regexp *sql*: PS$>Get-Service -displayname *sql* Stop/Start microsoft sql server instance: PS$>Stop-Service -name MSSQLSERVER PS$>Start-Service -name MSSQLSERVER Ref: Five basic PowerShell commands Windows admins should know

Recycling Pool

I need to recycle application pool every time for SharePoint 2007 application page debug, so i searched for PowerShell script out there and ended with this option: PS > (Get-WmiObject -class "iisapplicationpool" -namespace "root\microsoftiisv2" -filter "Name='W3SVC/AppPools/DefaultAppPool'").Recycle() here DefaultAppPool is the name of your application pool under the tree of IIS admin, so you must change on demand this works fine for IIS6 on windows server 2003 R2 64bits, and power shell 1.0 It should work for power shell 2.0 and Win2008R2

PowerShell for SharePoint 2010

If you want to learn about Power Admin SharePoint 2010 you will need this resources for PowerShell Learning: 2 main branches or flavors, although 2nd is a subset of the first: PowerShell for SharePoint Server 2010 PowerShell for SharePoint Foundation 2010 Office 365 Jump Start (03): Microsoft Office 365 Administration & Automation Using Windows PowerShell™ Stsadm to Windows PowerShell mapping (SharePoint Foundation 2010) Articles: SharePoint 2010 deployment using Powershell Introducción a los despliegues automatizados. Parte I: PowerShell remoto Powershell, SharePoint Solutions, and Waiting for Deployment References: PowerShell 2.0 Integrated Scripting Environment (ISE) Practical Windows PowerShell for SharePoint 2010 NOTE: PowerShell also applies to SharePoint 2007 good examples also here . Resources on PowerShell and SharePoint The PowerShell Guy PowerShell Scripts collection for MOSS Basic Windows PowerShell commands you should already know MOS...