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.

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,344 questions
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Darren Gosbell 1,471 Reputation points
    2021-02-05T06:35:22.423+00:00

    CimSession is a powershell concept, not related to SSAS directly so it looks like you have a powershell issue here (maybe trying to connect to an old server name)

    0 comments No comments

1 additional answer

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

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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.