Comments (7)
Can you elaborate a bit more what the issue you're having with using xWindowsUpate to achieve those points ?
from xwindowsupdate.
I am not sure if this is a feature request or just confusion of current functionality. Looking through the examples/docs I am under the impression that setting a machine to use a local WSUS server as the source of patching is not currently available.
Is that correct?
from xwindowsupdate.
Hi,
Is there any new information regarding this request? We would also be interesed in using this resource for configuring our VMs to use a local WSUS server.
Thanks!
from xwindowsupdate.
*This is not an endorsement and I have not used the following resource.
I found this resource that might do what you need. https://pwrshell.net/powershell-desired-state-configuration-resources-for-wsus/
That is what we will look at when we get back to working on this for our setup.
from xwindowsupdate.
Great. Thanks
from xwindowsupdate.
I've not used this resource, but suspect this will be a blocker for me too.
@ArieHein, I suspect what the others may be referencing, based on a quick look at the code, may be this:
if($Source -eq 'WSUS')
{
throw 'The WSUS service option is not implemented.'
}
from xwindowsupdate.
We are using the xWindowsUpdateAgent resource to manage clients installing updates via WSUS. To get around the terminating error that FinickyCode pasted above, we modified the resource as shown below. To make this completely work, we use a Registry resource to set the needed registry values under "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" (see "https://docs.microsoft.com/en-us/windows/deployment/update/waas-wu-settings for the specifics")
Here's the change needed for Test-TargetResourceProperties:
if($Source -eq 'WSUS')
{
$key = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate'
$notImplemented = 'The WSUS service option is not implemented.'
#Check to see if the WSUS source was configured via registry or GPO
if((Get-ItemProperty -Path "$key\AU" -ErrorAction SilentlyContinue).UseWUServer -eq 1)
{
$wsusServer = (Get-ItemProperty -Path $key -ErrorAction SilentlyContinue).WUServer
$wsusReporting = (Get-ItemProperty -Path $key -ErrorAction SilentlyContinue).WUStatusServer
if((($wsusServer -like "http*") -and ($wsusReporting -like "http*")) -eq $false)
{
throw $notImplemented
}
}
else
{
throw $notImplemented
}
}
from xwindowsupdate.
Related Issues (20)
- xWindowsUpdate: Documentation incorrectly specifies resource is called xHotfix. HOT 2
- xWindowsUpdateAgent.updateNow=$true fails silently HOT 8
- xHotfix fails with 2359302 (already installed) HOT 1
- Feature Request: Suppress Reboot HOT 1
- Feature Request: Maintenance Window HOT 1
- Push patches at a specific time? HOT 1
- Access Denied error during Push Windows Update HOT 2
- Access Denied error during Push Windows Update HOT 1
- xWindowsUpdateAgent: Category description is not accurate HOT 5
- Clarification needed if xWindowsUpdateAgent makes changes to registry HOT 5
- xWindowsUpdateAgent: Improve the UpdateNow parameter description HOT 1
- sporadic DSC error HOT 13
- xWindowsUpdateAgent: Incorrect Variable Returned in Verbose Message
- Run xWindowsUpdate only on Initial HOT 3
- Support for installing .msp office patches HOT 1
- xWindowsUpdateAgent: 0x80248014 when disabling Microsoft Update Setting
- xWindowsUpdate fails in Azure if it's the only resource HOT 2
- xWindowsUpdate: Converting to new CI pipeline
- Multiple Runs - Updates are "released" after updates..
- WSUS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xwindowsupdate.