maurice-daly / DriverAutomationTool

Home of the Driver Automation Tool
https://www.msendpointmgr.com
BSD 2-Clause "Simplified" License
382 stars 114 forks source link

7.1.4 "-Fast for retrieving objects without loading lazy properties" #370

Closed MrRobot5000 closed 1 year ago

MrRobot5000 commented 1 year ago

Since upgrading to 7.1.4 I've been getting the following error...

'Get-CMDriverPackage' supports -Fast for retrieving objects without loading lazy properties. Loading lazy properties can cause significant performance penalties. If it is not necessary to utilize the lazy properties in the returned object(s), -Fast should be used. This warning can be disabled by setting $CMPSSuppressFastNotUsedCheck = $true.

It does take a much more time to create driver packages in this state.

What should be done to correct this? I'm not certain as to where I need to populate the "-Fast" at.

Thank you!

MrRobot5000 commented 1 year ago

I fell back to 7.0.4 and it seems to perform fast as it did before. However, I still am seeing this message/error displayed. I haven't noticed it previously.

MrRobot5000 commented 1 year ago

I'm just ignoring it now and moved up to version 7.1.7. It seems to be doing much better.

maurice-daly commented 1 year ago

Updated in latest version - https://github.com/maurice-daly/DriverAutomationTool/blob/master/Current%20Branch/7.1.8/DriverAutomationTool.exe