Topics
Started by
Posts
Last post
All, I'm trying to set up some code in a SQL agent job. The following code works as expected: $sqlC…
12 replies
I have to scan a bunch of servers for failed logins. As part of this process, I want to get the inc…
11 replies
I have a sql table where the app is writing. A unix timestamp value to the field. I would like to i…
2 replies
$Drives = Get-PSDrive -PSProvider 'FileSystem' foreach($Drive in $drives) { #select largest file in…
5 replies
A job step received an error at line 33 in a PowerShell script. The corresponding line is 'Get-WmiO…
4 replies
Hi all We're using PowerShell V5 on a SQL2022 Enterprise box. I've got SQL Agent jo…
4 replies
Hi, I'm looking for some advice and to find out if the following is possible. I have an Access DB t…
1 replies
Hi, i want to backup one SQLDatabase via Powershell and then i want to restore this backupfile to z…
3 replies
I'm trying to script out an availability group in SQL and found this neat article here with a power…
2 replies
Hi All, I have been trying to download a csv file which is produced by calling an api and then to s…
1 replies
All, I'm new to Powershell so this could be a simple error. I'm using a SQL agent job to backup a d…
9 replies
This script converts from xlsx to csv, but how can I change delimiter from comma to semicolon, and …
2 replies
By: Bruin
How can I adjust this script to add MMYYYY to the file name before the extension on the Copy? thank…
18 replies
All the user profiles on my test server were deleted. Now, dbatools is not working. Invoke-DbaQuery…
3 replies
$File = "C:\CostLoads\Book1.xlsx" $Instance = "xxxxx" $Database = "DBA_USAGE" $fileName = [System.…
5 replies
Viewing 15 topics - 1 through 15 (of 623 total)
You must be logged in to create new topics.