SQLServerPSModule icon indicating copy to clipboard operation
SQLServerPSModule copied to clipboard

This repo is the home of SQL Server PowerShell Module development.

Results 65 SQLServerPSModule issues
Sort by recently updated
recently updated
newest added

It appears that Invoke-SqlCmd is not threadsafe - is this correct? Can it be made to be so? Got this error while executing in a ForEach-Object -Parallel type loop Operations...

bug

I can add a new item to the "PS SQLSERVER:\SQLRegistration\Database Engine Server Group" but the new item does not show up in SSMS 20.0 "Registerd Servers" example: New-Item -Name $(encode-sqlname...

https://www.powershellgallery.com/packages/SqlServer/22.0.59 has a changelog that links here but there's no recent commits. Can anyone provide more detail? We had some issues using it and wanted to check we were holding...

question

Hello, Regarding the release, v22.2.0: - https://www.powershellgallery.com/packages/SqlServer/22.2.0 - At the moment, nearly 64 million downloads When I check the wiki for the release notes, they are empty. Do you plan...

When restoring a large database using `Restore-SqlDatabase` the command times out after 600 seconds. This is regardless of the `ConnectionTimeout` parameter setting. Tried setting it to 0 and setting it...

bug

Does this mean it wont run until azure automation is also updated and if so can we install prior versions of the module, otherwise i am going to have to...

more info needed

The latest version of the SqlServer Powershell module seems to be missing support for SSIS. The documentation here: https://learn.microsoft.com/en-us/sql/powershell/sql-server-powershell-provider?view=sql-server-ver16 Still lists SQLSERVER:\SSIS as one of the ways to navigate SSISDB...

enhancement
question

Import-module sqlserver -MinimumVersion 22.2.0 $ConfigInfo = Import-CSV 'C:\ConfigStuffToImportOnSQLServer.txt' Write-SqlTableData -ServerInstance myinstance -DatabaseName 'master' -SchemaName 'dbo' -TableName 'GoodStuff' -Force -ConnectionTimeout 0 -Timeout 0 -InputData $ConfigInfo -TrustServerCertificate This command mostly works but...

Writing data to a table with Write-SqlTableData creates permanent Write-Progress bars that never clear. There is likely a missing call to Write-Progress with the -Complete flag in order to close...

bug

I am trying to encrypt Azure SQL Database Columns Using Azure Automation Run Book. Code is written in power shell and is failing when trying to execute this command $serverName...