[英]PowerShell error Method invocation failed because [System.Object[]] does not contain a method named 'op_Subtraction'. when trying to link GPO
編輯問題和代碼---我碰壁了,正在向專家尋求幫助。 我正在編寫一個腳本,它將一個 GPO 鏈接到多個 OU,並將其放置在每個 OU 中目標 GPO 的鏈接順序(或根據情況加 1),例如要鏈接的 GPO 是 GPO1,它需要是鏈接到 OU1 並且鏈接順序需要基於 GPO2 的鏈接順序,因此如果 GPO ...