Description
Hi,
My project is update offline KB on large private network of Win10 machine, try your solution and found can be the way.
When I use wsuscn2 stored locally on machine like C:\temp or USB stick D:\temp, there is no problem.
Saving wsuscn2 on SAN share folder works fine
Save-KbScanFile -Path \xxxx\xxx\Opk\KB
But, I always have error when try to get KB needed
$scanfile = Get-ChildItem -Path \xxxx\xxx\Opk\KB\wsusscn2.cab
Get-KbNeededUpdate -ScanFilePath $scanfile
La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte. (Exception de HRESULT : 0x8007007B)
+ CategoryInfo : OperationStopped: (:) [], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException
+ PSComputerName : localhost
Are there any conditions for settings, access to network sharing?
I tried also to create PSDrive connected du SAN share, without any success.
In my project, I don't want to have to copy wsuscn2 on more than 1000 machines every month :)
Have you some suggestions?
Regards,