Home Forums Programming Powershell Deploy Script To SQL Databases using Powershell RE: Deploy Script To SQL Databases using Powershell

  • Hi
    Please try the modification made in your script in RED.

    #import SQL Server module
    Import-Module SQLPS -DisableNameChecking
    Set-Location "SQLSERVER:\SQLRegistration\Central Management Server Group\<<CentralManagementSQLServerMame>>"
    Get-ChildItem

    Vishnu Gupthan
    PowershellAcademy
    www.powershellacademy.com