0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Active Directory : グループ又はユーザーの情報をエクスポート

Posted at

Active Directory でグループ又はユーザーの情報をエクスポートする方法

コマンドプロンプトを起動します。
以下のコマンドで、グループ又はユーザーの情報をエクスポートします。

〇 ユーザー情報をエクスポート :

csvde -u -f C:\adlist_u.csv -r objectCategory=user -l cn,description,memberOf

〇 グループ情報をエクスポート :

csvde -u -f C:\adlist_g.csv -r objectCategory=group -l cn,description

※エクスポート先に権限が無いと、エラーが発生するようです。

エクスポートが完了しました。後処理を実行しています...
出力ファイルを開くときにエラーがありました
プログラムでエラーが発生しました
ログはファイルに書き込まれませんでした。ログ ファイルを生成するには、
-j オプションを使ってログ ファイルへのパスを指定してください。

※エクスポート先に権限を与えて、エクスポート実行すると、以下の結果が表示されました。

エクスポートが完了しました。後処理を実行しています...
nn,nnn 個のエントリがエクスポートされました

コマンドが正しく完了しました

上記2つのCSVファイルを使用し、Excelでゴニョニョすると、
グループとユーザーの構成する事ができます。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?