Skip to content

Commit 8e6e119

Browse files
committed
10 - SSAS Databases - initialize $encoding var
Set Scrict finding more stuff!
1 parent e4b2f5f commit 8e6e119

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Scripts/10_SSAS_Objects.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
.NOTES
3030
3131
https://msdn.microsoft.com/en-us/library/microsoft.analysisservices(v=sql.120).aspx
32-
33-
3432
3533
George Walkey
3634
Richmond, VA USA
@@ -78,6 +76,7 @@ Write-Output "Server $SQLInstance"
7876
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.AnalysisServices") | out-null
7977
[System.Reflection.Assembly]::LoadWithPartialName("System.Xml") | out-null
8078

79+
$encoding = [System.Text.Encoding]::UTF8
8180

8281
## connect to the server
8382
try

0 commit comments

Comments
 (0)