Forum Replies Created

Viewing 15 posts - 16 through 30 (of 189 total)

  • RE: Is Microsoft neglecting SMO?

    I think you already know my answer--Yes PowerShell has been neglected in SQL Server 2008 R2 with almost no changes and we can only hope we see changes in Denali....

  • RE: Database Space Capacity Planning

    No problem, glad its working for you.

  • RE: Database Space Capacity Planning

    The scripts have several write-verbose statements which you can thing of as PRINT statements only that you need to "turn them on" in PowerShell. Here's how you would do that:

    Open...

  • RE: Review: Indepth for SQL Server

    They still exist, but the company has gone through some turmoil: first Precise was acquired by Veritas, then Symantec acquired Veritas. Symantec divested the Precise product line and now the...

  • RE: Dump SQL Permissions

    The solution relies on SQL-DMO and Excel. SQL-DMO is deprecated class for managing SQL Server. SQL-DMO is install with SQL Server 2000, but not with SQL Server 2005 or higher....

  • RE: SQL Server Central Webinar Series #5: Setup Your Source Control With Help from PowerShell

    Keep in mind Red Gate has a wonderful tool, Sql Compare and if you have the professional edition it comes with a command-line utility, sqlcompare.exe (I'm not sure why you...

  • RE: Database Space Capacity Planning

    The capacity report/query calculates an average growth rate over a given period, so in order for the query to return results you must have at least two days of collected...

  • RE: Essential Software

    PowerShell. There are two applications I have open all day--SSMS and PowerShell.

  • RE: Backup Monitoring and Reporting

    You shouldn't paste the Powershell script in the command windows. Instead for SQL 2008 setup a job with a Powershell command step and only have the path to the script...

  • RE: Use SQL-DMO and Excel to Quickly Create Reports for Auditors

    This is an older article I wrote. The underlying code relies on SQL-DMO which is installed with SQL Server 2000 Client Tools. I suspect you may not have SQL-DMO installed...

  • RE: Backup Monitoring and Reporting

    Although I don't see anything wrong with this line. The error message pertains to it, so change this:

    $da.fill($dt) > $null

    to this

    [void]$da.fill($dt)

  • RE: Logging with SQL Server

    Interesting article, you've obviously put some thought into how to architect a robust logging environment. I wish someone had done the same in my environment, instead hundreds of programs use...

  • RE: Database Space Capacity Planning

    bartusp (11/20/2009)


    Hi,

    When executing the powershell script for Write-DbSpaceToDb.ps1 i get the following error :

    PS SQLSERVER:\SQL\JHB-BARTUSD\DEFAULT> param($destServer, $destdb)

    The term 'param' is not recognized as a cmdlet, function, operable program, or

    script file....

  • RE: Database Space Capacity Planning

    Win32_Volume class isn't available on XP. It is on Server 2003 and Vista and above. Change the vol script o use Win32_LogicalDisk instead.

  • RE: Backup Monitoring and Reporting

    I don't see anything in the code where system databases are excluded. I would suggest running this query on the instances where the system databases are not reporting as successfully...

Viewing 15 posts - 16 through 30 (of 189 total)