Invoke-Command
финализация не работает.Enter-PSSession
работает. Надо прямо в сессии сидеть дожидаться перезагрузки./InstallFile 'C:\$WINDOWS.~BT\Sources\Install.esd'
обязателен. без него ругается на то, что что-то там открыть не может, error 00000A (не помню уже что ей там надо)$Updates = Start-WUScan
Install-WUUpdates -Updates $Updates
C:\$WINDOWS.~BT\Sources\SetupHost.Exe /Finalize /Update /InstallFile 'C:\$WINDOWS.~BT\Sources\Install.esd'
PS C:\> Get-ChildItem -Recurse -File -Path D:\33\ | Group-Object -Property Directory,BaseName
Count Name Group
----- ---- -----
1 D:\33\11, bbb {bbb}
1 D:\33\11, ddd {ddd}
1 D:\33\22, bbb {bbb}
1 D:\33\22, ddd {ddd}
When the message is accepted and email is sent to the categorizer, the mailbox level RecipientLimits (if it is not set to unlimited) or Transport level MaxRecipientEnvelopeLimit are checked. If the number of recipients exceeds this limit, the message is rejected and a bounce message is sent with the error 550 5.5.3 RESOLVER.ADR.RecipLimit; too many recipients.
А так - что-нибудь типа Cobian Backup подойдёт, или другое аналогичное решение.