PoshWSUS icon indicating copy to clipboard operation
PoshWSUS copied to clipboard

Import-PSWSUSMetaData

Open Garthmj opened this issue 9 years ago • 4 comments

I might be incorrect but looking at the source code for the import function, it appears that it actually exports the data not imports the data. Is this correct/right?

I'm asking because I'm having problems with it and I'm trying to determine if it is me or the code that is the issue.

Garthmj avatar Aug 25 '16 18:08 Garthmj

You would be correct. For some reason this is exporting the metadata instead of importing it. I will need to get that fixed,

proxb avatar Aug 26 '16 02:08 proxb

Is there a fix for this?

luzkenin avatar Jul 04 '17 21:07 luzkenin

It hasn't been fixed yet. Different priorities have kept me from this. It is noted as an issue and I will try to make some time to work on this sometime soon.

proxb avatar Jul 05 '17 11:07 proxb

Thanks for the update. I found this (from 10 years ago): http://www.howtoupdateservice.info/WSUS_3_0_API_question_DFlN.html Stating the ImportUpdates method doesn't work but ExportUpdates does. I'm willing to bet this was never fixed in the API because I get "Object reference not set to an instance of an object." when I run it.

luzkenin avatar Jul 05 '17 13:07 luzkenin