paulwetter / DocumentConfigMgrCB

This script attempts to document your entire Configuration Manager (MEMCM/SCCM) environment
https://wetterssource.com/documentconfigmgrcb
174 stars 45 forks source link

Error running from GUI - null parameter 'InputObject' #95

Closed rejohnson76 closed 2 years ago

rejohnson76 commented 2 years ago

Getting this error running from the GUI. Using Feb 18, 2022 version. SCCM is 2107.

Write-HTMLTable : Cannot bind argument to parameter 'InputObject' because it is null. At C:\Temp\DocumentConfigMgrCB-master\DocumentCMCB.ps1:8283 char:38

paulwetter commented 2 years ago

Odd. Do you somehow have an ADR with no deployments?

rejohnson76 commented 2 years ago

Good catch! I had an old disabled ADR with no deployment. Deleted it and no more errors. Might be an interesting item to report on instead of erroring?

Thanks for all your efforts, Russell

From: Paul Wetter @.> Sent: Thursday, February 24, 2022 4:42 PM To: paulwetter/DocumentConfigMgrCB @.> Cc: Russell Johnson @.>; Author @.> Subject: Re: [paulwetter/DocumentConfigMgrCB] Error running from GUI - null parameter 'InputObject' (Issue #95)

Odd. Do you somehow have an ADR with no deployments?

- Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpaulwetter%2FDocumentConfigMgrCB%2Fissues%2F95%23issuecomment-1050402219&data=04%7C01%7Crussell.johnson%40a-dec.com%7Ce6aee468f2a14bb7f9f808d9f7f79f9f%7Cf95e95a285e14ef3acadfcca3af78d44%7C0%7C0%7C637813465212089133%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6ssD8UAv9inQkEqcBY%2BTz7jxPOWxSSL%2B46tXr%2BfSbI8%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMKIF4XPHXPPQ2YVNW5NIETU43F5HANCNFSM5PIV5MGA&data=04%7C01%7Crussell.johnson%40a-dec.com%7Ce6aee468f2a14bb7f9f808d9f7f79f9f%7Cf95e95a285e14ef3acadfcca3af78d44%7C0%7C0%7C637813465212089133%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kEDGZXnX2SpPBQvPXBeq51O9Mr94vhGttXbCGlcpA9E%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Crussell.johnson%40a-dec.com%7Ce6aee468f2a14bb7f9f808d9f7f79f9f%7Cf95e95a285e14ef3acadfcca3af78d44%7C0%7C0%7C637813465212089133%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=esYIeXmQScmU1L%2BqC7%2FNEOrfZgwegOiBVe02XerNC5Q%3D&reserved=0 or Androidhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Crussell.johnson%40a-dec.com%7Ce6aee468f2a14bb7f9f808d9f7f79f9f%7Cf95e95a285e14ef3acadfcca3af78d44%7C0%7C0%7C637813465212089133%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=FJfYajXuvtTUDCnXsDOBa0cS1ta56X8rZyPT6u%2BHA18%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

paulwetter commented 2 years ago

I was thinking the same thing. I'll update this weekend to make it leave a note of that in the doc. Though, this does make me think of building a "Potential Action Items" list in the documentation or something too... have to think about that.

paulwetter commented 2 years ago

This is accounted for in version 4.0.4