I have SQL server 2017 on a Windows Server 2019 Core installation, no GUI. One of our users wants to use Filestream. I tried to follow this setup and this however, since it requires SSCM I can't complete that part. I can enable in SSMS however, cannot set file location etc, so when executing the stored procedure command on the setup page I get this error:
FILESTREAM feature could not be initialized. The operating system Administrator must enable FILESTREAM on the instance using Configuration Manager.
When I connect to SSCM remotely through the computer management window and try to open the services none will display. I can access the networking options but not the services so maybe those won't work remotely? The firewall is off between the Core install and the GUI version I am trying to use.
Anybody have a way to remotely enable Filestream and set the needed parameters like you would through SSCM?
Thanks in advance.
( Get-WmiObject -namespace "root\Microsoft\SqlServer\ComputerManagement14" -class FILESTREAMSettings | where {$_.InstanceName -eq "MSSQLSERVER"} ).EnableFILESTREAM(3,"MSSQLSERVER")
. I gleaned this command from this post.EnableFilestream
function is the share name. So... .EnableFILESTREAM(3,"CustomShare")
should do it for you.