Get Cube size error

Mina Kamel 101 Reputation points
2021-02-03T16:38:27.017+00:00

Hello, I have a script that was working just fine to and the functionality of it was to obtain the size of the cubes from SSAS and compare it to the trash hold that is set. we have upgraded our system from windows server 2016 to 2019 and I start noticing the error below. can some one please guide me on how I can fix it.

ERROR! Cannot bind argument to parameter 'CimSession' because it null.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,474 questions
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,245 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,383 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Lukas Yu -MSFT 5,816 Reputation points
    2021-02-04T06:11:59.867+00:00

    Could you share you script So we could take a look?