Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Why Use PowerShell


Published on

PowerShell is an object-oriented scripting environment for enterprise scale administration of Active Directory, Exchange and now increasingly SQL Server 2008 R2. A tiny DBA team can scale out to manage hundreds of SQL Server instances and thousands of databases with minimal effort.

Published in: Technology
  • Be the first to comment

Why Use PowerShell

  1. 1. Why use PowerShell?<br />Siraj Jamdar<br />
  2. 2. Why use PowerShell<br />Master Data Services SnapIn<br />Multi-Server Management, SQL 2k5, 2k<br />One workstation, one script  unlimited targets<br />Harness .NET and WMI<br />Application Domain-specific solutions (WinForms)<br />Better OS integration, async execution<br />
  3. 3. Gotchas<br />Firewall blocks ports or drops packets<br /><ul><li>Incorrect trust relationships between AD domains
  4. 4. Group policies prevent script execution</li></li></ul><li>Why NOT to use PowerShell<br />PowerShell is an admin tool<br />Use WHERE clause of<br />T-SQL<br />WMI<br />LDAP<br />.netobjects might flood the network M<br />Mightcrash the DBA’s workstation <br />That’s why sqlps is restrained by design<br />
  5. 5. Some links<br /><br /><br /><br /><br />