Re: No data from cmd line exporter
We have a winner! Thanks
Announcement
Collapse
No announcement yet.
No data from cmd line exporter
Collapse
X
-
Guest repliedRe: No data from cmd line exporter
Try changing this part to:
call exporter.exe .\export.ini domain %%i
Leave a comment:
-
No data from cmd line exporter
I am trying to export the members of local server groups from a specific group of servers. I've written a batch file like so:
for /F %%i in (d:\scripts\dumpsec\servers.txt) do (
call exporter.exe .\export.ini \\%%i
)
where servers.txt is the list I'm using.
All I get is the column headings, no actual data. What am I doing wrong? Here is my export.ini file:
[Export]
Verbose=1
VeryVerbose=0
ExportDomain=NAIPAPER
ExportTitles=1
Append=1
SkipUnix=1
ExportCmd=d:\scripts\dumpsec\exporter.exe
Delimiter=,
ExportUsers=0
ExportUserFile=c:\users.txt
ExportDomainUsers=1
ExportBDCUsers=0
ExportServerUsers=1
ExportWorkstationUsers=0
ExportUserRAS=0
ExportUserTSE=1
ExportGroups=0
ExportGroupFile=d:\groups.txt
ExportDomainGlobalGroups=0
ExportDomainLocalGroups=0
ExportServerLocalGroups=0
ExportWorkstationLocalGroups=0
ExportSpecificGroups=
ExportPrinters=0
ExportPrinterFile=
ExportServerPrinters=0
ExportWorkstationPrinters=0
ExportServices=0
ExportServiceFile=c:\services.txt
ExportServerServices=1
ExportWorkstationServices=0
ExportSpecificServices=
ExportMembers=1
ExportMemberFile=d:\members.txt
ExportDomainGlobalMembers=0
ExportDomainLocalMembers=0
ExportServerLocalMembers=1
ExportWorkstationLocalMembers=0
ExportMachines=0
ExportMachineFile=c:\machines.txt
ExportServerMachines=1
ExportWorkstationMachines=0
ExportComputerUptime=0
ExportComputerProperties=0
ExportDrives=0
ExportServerDrives=1
ExportWorkstationDrives=0
ExportDriveFile=c:\drives.txt
// use:
// 0=bytes
// 1=mb
// 2=gb
ExportDriveFormat=2
ExportDriveSpaceMask=""
ExportShares=0
ExportShareFile=c:\shares.txt
ExportServerShares=1
ExportWorkstationShares=0
ExportShareSecurity=0
ThanksTags: None
Leave a comment: