質問者
Deleted

質問
すべての返信
-
Enginner480907さん、こんにちは。フォーラムオペレーターのFarenaです。
TechNetフォーラムにご投稿くださいましてありがとうございます。
PowerShellに置き換える中何か問題点かありましたか?
可能であれば、もう少し詳細な状況を共有いただくことで他のユーザー様よりのご意見が集まりやすくなります。
どうぞよろしくお願いいたします。
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
$VIEW_XML = 'D:\OUTLOOK_BACKUP\current.view' #インポート元のファイル名 $OLApp = New-Object -comobject Outlook.Application ($OLApp.ActiveExplorer()).CurrentFolder.CurrentView.XML = [string](Get-Content $VIEW_XML) ($OLApp.ActiveExplorer()).CurrentFolder.CurrentView.Apply() ($OLApp.ActiveExplorer()).CurrentFolder.CurrentView.Save() [System.Runtime.InteropServices.Marshal]::FinalReleaseComObject($OLApp) $OLApp = $null
インポート処理修正