[Xymon] Windows Update Script
Timothy Williams
tlwilliams4 at vcu.edu
Thu Oct 20 15:45:09 CEST 2022
I added this before the first Function; note that I install and run from a
C:\Utils folder, not Program Files, change as needed.
$extfilepath = 'c:\Utils\ext'
IF(!(Test-Path $extfilepath))
{New-Item C:\Utils\ext –Type Directory}
I also filtered the output in the ForEach loop by enclosing If ($patchAge
-lt 365){...}
*Timothy L. Williams*
Windows Server
*Operating Systems Analyst*Virginia Commonwealth University
On Thu, Oct 20, 2022 at 8:32 AM Galen Johnson <solitaryr at gmail.com> wrote:
> Xymonton is self-service. The maintainer doesn't add the monitors. It
> can be as simple as a link to your GH or a text copy people can download
> from there.
>
> =G=
>
> On Thu, Oct 20, 2022 at 12:49 AM Bruno Manzoni <
> bruno.manzoni at ubi-network.ch> wrote:
>
>> Thanks all for your feedback,
>>
>> >Perhaps this could be added to Xymonton
>> <https://wiki.xymonton.org/doku.php>
>> I dont know who manage Xymonton, but he could add it!
>>
>> >Yes, an excellent script! For my copy, I added a check that the ext
>> folder exists, create if not (it doesn't by default in my environment).
>> Also it found an obsolete patch of 2978 days old (not even available at MS)
>> so I created a filter to exclude reporting on patches over 365 days.
>>
>> Let us know what modification did you did! (Send an email or create an
>> issue on Github)! And my 2 cents comments:
>> - The check for the ext folder to exist should be better in the
>> powershell client: maybe just a warning or just created at the install time
>> (or both)
>> - For the obsolete patch, a filter seems not a perfect solution (but
>> could be still usefull to have the code!): if you know a better way to do
>> it or if you know why it is not reported as it is in Windows: let us know !
>>
>> Bruno
>>
>> Le 20.10.2022 à 01:24, James Louis a écrit :
>>
>> Perhaps this could be added to Xymonton
>> <https://wiki.xymonton.org/doku.php>.
>>
>> On Wed, Oct 19, 2022 at 5:58 PM Timothy Williams <tlwilliams4 at vcu.edu>
>> wrote:
>>
>>> Yes, an excellent script! For my copy, I added a check that the ext
>>> folder exists, create if not (it doesn't by default in my environment).
>>> Also it found an obsolete patch of 2978 days old (not even available at MS)
>>> so I created a filter to exclude reporting on patches over 365 days.
>>>
>>> Timothy Williams, UCC
>>>
>>> On Wed, Oct 19, 2022, 6:39 PM Bruno Manzoni <
>>> bruno.manzoni at ubi-network.ch> wrote:
>>>
>>>> Hello List,
>>>>
>>>> Thanks to Kris, we (the list) receive a script to manage Windows
>>>> Updates!
>>>>
>>>> With his authorization I just published the script on Github and a
>>>> guide to make it running quickly
>>>>
>>>>
>>>> https://github.com/bonomani/Xymon-powershell-client-with-Windows-updates-centrally-managed/
>>>>
>>>> Bruno
>>>>
>>>>
>>>> _______________________________________________
>>>> Xymon mailing list
>>>> Xymon at xymon.com
>>>> http://lists.xymon.com/mailman/listinfo/xymon
>>>>
>>> _______________________________________________
>>> Xymon mailing list
>>> Xymon at xymon.com
>>> http://lists.xymon.com/mailman/listinfo/xymon
>>>
>>
>>
>> --
>>
>>
>>
>>
>>
>> *Jim Louis \\\\||//// \ ~ ~ / | @ @ | *
>>
>>
>> *--oOo---(_)---oOo-- *
>>
>> *“The part of life we really live is small. All the rest is not life, but
>> merely time.”*
>>
>> _______________________________________________
>> Xymon mailing listXymon at xymon.comhttp://lists.xymon.com/mailman/listinfo/xymon
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20221020/54fefa73/attachment.htm>
More information about the Xymon
mailing list