question

MichaelPleick-9940 avatar image
0 Votes"
MichaelPleick-9940 asked MichaelPleick-9940 answered

automatisch Windows-Updates mit Powershell genehmigen ohne Vererbung

Hallo zusammen,

ich habe ein Script für die automatische Genehmigung von Windowsupdate mit Powershell erstellt. Alles läuft gut, aber die Genehmigung vererbt sich auf die untergeordneten Computergruppen der Zielgruppe. Kann man diese Vererbung unterbrechen?

Für die Vererbung über gewählte Gruppen verwende ich folgenden Code.

foreach($group in $groups)
{
write-host $group.Name
$_.approve("Install",$group)
}
Die Gruppen werden zuvor über den Namensteil gefiltert. In der Schleife sind die Computergruppen unterhalb der Zielgruppe nicht enthalten.

Gruß
Michael

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

QnA forums are currently English only. I'd try asking for help in dedicated forums over here.
https://social.technet.microsoft.com/Forums/de-DE/home?forum=powershell_de

--please don't forget to Accept as answer if the reply is helpful--





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MichaelPleick-9940 avatar image
0 Votes"
MichaelPleick-9940 answered

Hello everybody,

I have created a script for the automatic approval of Windows updates with Powershell. Everything is going well, but the approval is inherited by the computer subgroups of the target group. Can you break this inheritance?

I use the following code for inheritance via selected groups.

foreach($group in $groups)
{
write-host $group.Name
$_.approve("Install",$group)
}

The groups are filtered beforehand using the name part. The computer groups below the target group are not included in the loop.

translate with Goolge :)

Michael

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.