Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Remove-Item giving error and not accepting path passed thru variable

$
0
0

Here is the code I am trying:

[string] $Server= "ServerName"
[string] $Database = "DBName"
$UserSqlQuery= $("select FileDelete from DBName.dbo.tmp_TableName")

$resultsDataTable = New-Ob


Viewing all articles
Browse latest Browse all 467

Trending Articles