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.