Hi Sjalla,
You can provide more information to Compare-Object so it will understand what you want to compare.
For licenses you can specify the Service & Licensed properties:
PS C:\> Compare-Object (Get-NaLicense -contr $mcb) (Get-NaLicense -contr $mca) -Property Service, Licensed
Service Licensed SideIndicator
------- -------- -------------
disk_sanitization True =>
flex_clone False =>
disk_sanitization False <=
flex_clone True <=
And for the network config, you'll need to drill down a bit more into the object:
PS C:\> $net1 = Get-NaNetActiveConfig -Controller $mca
PS C:\> $net2 = Get-NaNetActiveConfig -Controller $mcb
PS C:\> Compare-Object $net1.Interfaces $net2.Interfaces -Property Interface,PrimaryAddresses
Interface PrimaryAddresses SideIndicator
--------- ---------------- -------------
e0a 10.61.132.11 =>
e0a 10.61.132.10 <=
e4c <=
e4d <=