0

我一直在玩 PSTermninalServices 一段时间,我想知道是否可以跟踪或获取持有用户的当前位置、工作目录、远程桌面 sessoin?例如,打开了哪些文件夹以及用户打开了哪些文件。这可以通过像 PowerShell 这样的脚本来实现吗?

操作系统:Windows Server 2008 R2

最好的祝福。达。

4

1 回答 1

2

我不知道如何使用 PS,但您可以使用 psfile(Mark Russinovich出色的pstools套件的一部分)

psfile.exe [\\RemoteComputer [-u Username [-p Password]]] [[Id | path] [-c]]
     -u        Specifies optional user name for login to
               remote computer.
     -p        Specifies password for user name.
     Id        Id of file to print information for or close.
     Path      Full or partial path of files to match.
     -c        Closes file identified by file Id.
Omitting a file identifier has PsFile list all files opened remotely.
于 2012-11-22T13:21:51.993 回答