先程、抽出した「UserExport.csv」のSamAccountName列の前に1列挿入して「Disable-ADAccount -Identity 」を追加します。「ComputersExport.csv」のDistinguishedName列の前1列、後ろに1列追加して「Disable-ADAccount -Identity ”」と「”」追加すればアカウント無効化スクリプトの完成です。実行したらSearch...