user1799596
user1799596

Reputation: 117

Export windows account list from bitvise SSH server control panel

In our server, we have Bitvise SSH server,

WinssHD Setting

We do have more than 150 windows accounts, with each account different directory has been mapped. Now I want to export the user account list and it's mapping. The question may sound silly, but anyone can help me with exporting the windows account user list with all the other existing details?

Windows account details

Upvotes: 1

Views: 1608

Answers (1)

Anton Krouglov
Anton Krouglov

Reputation: 3409

As per here, here and here:

#you may need to put your server version here like BssCfg721
$cfg = new-object -com "BssCfg726.BssCfg726"

$cfg.LoadServerSettings()

#this exports all windows accounts to csv file
$cfg.settings.access.winAccounts | Export-Csv 'c:\export.csv'

Upvotes: 1

Related Questions