PowerShell icon indicating copy to clipboard operation
PowerShell copied to clipboard

Powershell scripts for SQL Server database administration

Results PowerShell issues
Sort by recently updated
recently updated
newest added

Fixed issue where default instance failed as the name would be truncated after the first character. Once this was done the code properly updates the startup parameters. Here is the...

I changed line 28 in PowerShell/SQLUtility/SQLUtility/Copy-SQLLogins.psm1 from `$filename = $source.Replace('/','_') + '_' + (Get-Date -Format 'yyyyMMddHHmm') + '_logins.sql'` to `$filename = $source.Replace('/','_').Replace('\', '_') + '_' + (Get-Date -Format 'yyyyMMddHHmm') +...

Add switch parameter to allow for checking subdirectories for backups.

enhancement

Add ability to grab current LSN value for database in recovery and use that as starting point.

enhancement

Allow Sync-DBUsers to accept a location for an sp_help_revlogin script (http://support.microsoft.com/kb/918992) and be able to extract valid login creation from that script to correct orphans.

enhancement

New-Restore should support the possibility that fulls and diffs can be striped.

enhancement