Chris H

Results 105 comments of Chris H

Hey, on the Pester issue, based on discussion on the #dsc community Discord channel, I believe that Pester 5 supports [unit testing for class-based resources](https://dsccommunity.org/blog/convert-tests-to-pester5-for-dsc-community-repository/). I don't know about the...

@FabienTschanz Thanks - good luck w/ PSBoundParameters. I understand where you're coming from, and that maintaining backwards compatibility isn't always worth the effort - I hope it is here though...

@FabienTschanz I'm nowhere near experienced enough in the PowerShell internals here to be able to comment on whether this is a good way ahead, but since you've reached out to...

The various MgUser attributes like Office, MobilePhone etc can be reset to $null, if you know the trick how: https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/833#issuecomment-1294082532

@FabienTschanz With MgUser the Graph module can't set them to empty *or* null, without the workaround.

@FabienTschanz I'm going to be honest and say that I'm not good enough with .NET or PowerShell to comment on your solution either way, except that what I think the...

@FabienTschanz I've posted to the #dsc Discord channel and there are some comments there

@FabienTschanz We're using -CommandName (option 2) in M365DSC now? Didn't realise that had happend!

@FabienTschanz I'd agree - let's put it on hold. In theory I'm guessing the memory issues may arise after many, many LCM resource runs (particularly if connections need to be...

Just FYI when testing, custom CIM types are used extensively in Microsoft365DSC e.g. https://microsoft365dsc.com/resources/azure-ad/AADApplication/ https://microsoft365dsc.com/resources/azure-ad/AADAdministrativeUnit/ https://microsoft365dsc.com/resources/azure-ad/AADGroup/ An issue has been raised here https://github.com/microsoft/Microsoft365DSC/issues/6120