Hi,
My issue is when I run the powershell script the output file is empty. The script works fine in SSMS and I get data when executing it. What can be the cause? Thanks
Results -- >
---------------------------------------------------------------------------------------------------------
SQL-A
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
NODE1
---------------------------------------------------------------------------------------------------------