PowerShell Right

Feb 14, 2009 at 4:51 PM
Hi Guys,

I've got a little question concerning the right that are using by powershell.
I'm using poshboad in website mode, and if I want to list the hd content of a another server at which user must I give right ?
The user which is running IIS ? Apsnet Account ? Another ?
I need to execute command on remote server and I'm looking for the best way to do it.

Thank you
Feb 20, 2009 at 1:04 PM

the answer is "it depends" ;)

It depends on your IIS and web.config configuration, but if you follow the "standard" installation, it will be "Network Service". That can be changed of course pretty easely (there are thread on this subject in the dropthings discussion threads)

By the way, there's a simple way to know what account is currently use on your install of poshboard...

...use PowerShell !

Put an "powershell output" widget on your page
Execute this simple script : (get-wmiobject Win32_ComputerSystem).UserName 

and you'll know for sure ;)

Feb 20, 2009 at 1:41 PM
Thank you for the answer.

In fact, I've found a solution that I prefer.
I've created some scripts on the server which are running with a service account. These scripts are putting data into csv file and the scripts in poshboard only reads the data into the csv files.

For the moment, my only problem is the refresher that are not working.
Feb 20, 2009 at 1:43 PM
The refresher will be fixed in the v0.4 (I'll try to put a "refresh all" button in the main toolbar on the top of the page, if I don't got time I plan to put a quick fix after the release)

Feb 20, 2009 at 1:45 PM
This would be really great ! :o)