配置存储报告选项卡,文件服务器资源管理器 (winapi)
Configure storage report tab, file server resource manager (winapi)
我需要迁移文件服务器资源管理器的配置,我正在使用 windows FSRM API 获取和设置配置。
在文件服务器配置选项中,我已经找到每个选项卡的所有 类,除了包含存储报告信息的那个。
我的问题是 class 是什么,它管理 windows api 中的 存储报告选项卡 。
。
如果要获取存储报告选项卡设置,使用 winapi,在文件服务器资源管理器的服务器属性中必须使用方法 GetDefaultFilter of the class FsrmReportManager
下面是一个如何使用 powershell 获取它的示例。
$fsrmReportManagerObj = new-object -com FSRM.FsrmReportManager
#FileScreenAudit
$fsrmReportManagerObj.GetDefaultFilter(9,2)
$fsrmReportManagerObj.GetDefaultFilter(9,6)
#FilesByType(file group)
$fsrmReportManagerObj.GetDefaultFilter(2,5)
#FilesByOwner
$fsrmReportManagerObj.GetDefaultFilter(6,6)
$fsrmReportManagerObj.GetDefaultFilter(6,7)
#FilesByProperty
$fsrmReportManagerObj.GetDefaultFilter(10,8)
$fsrmReportManagerObj.GetDefaultFilter(10,7)
#LargeFiles
$fsrmReportManagerObj.GetDefaultFilter(1,1)
$fsrmReportManagerObj.GetDefaultFilter(1,7)
#LeastRecentlyAccessed
$fsrmReportManagerObj.GetDefaultFilter(3,2)
$fsrmReportManagerObj.GetDefaultFilter(3,7)
#MostRecentlyAccessed
$fsrmReportManagerObj.GetDefaultFilter(4,3)
$fsrmReportManagerObj.GetDefaultFilter(4,7)
#QuotaUsage
$fsrmReportManagerObj.GetDefaultFilter(5)
如果要设置存储报告选项卡设置,使用 winapi,在文件服务器资源管理器的服务器属性中,您必须使用方法 SetDefaultFilter of the class FsrmReportManager
我需要迁移文件服务器资源管理器的配置,我正在使用 windows FSRM API 获取和设置配置。
在文件服务器配置选项中,我已经找到每个选项卡的所有 类,除了包含存储报告信息的那个。
我的问题是 class 是什么,它管理 windows api 中的 存储报告选项卡 。
。
如果要获取存储报告选项卡设置,使用 winapi,在文件服务器资源管理器的服务器属性中必须使用方法 GetDefaultFilter of the class FsrmReportManager
下面是一个如何使用 powershell 获取它的示例。
$fsrmReportManagerObj = new-object -com FSRM.FsrmReportManager
#FileScreenAudit
$fsrmReportManagerObj.GetDefaultFilter(9,2)
$fsrmReportManagerObj.GetDefaultFilter(9,6)
#FilesByType(file group)
$fsrmReportManagerObj.GetDefaultFilter(2,5)
#FilesByOwner
$fsrmReportManagerObj.GetDefaultFilter(6,6)
$fsrmReportManagerObj.GetDefaultFilter(6,7)
#FilesByProperty
$fsrmReportManagerObj.GetDefaultFilter(10,8)
$fsrmReportManagerObj.GetDefaultFilter(10,7)
#LargeFiles
$fsrmReportManagerObj.GetDefaultFilter(1,1)
$fsrmReportManagerObj.GetDefaultFilter(1,7)
#LeastRecentlyAccessed
$fsrmReportManagerObj.GetDefaultFilter(3,2)
$fsrmReportManagerObj.GetDefaultFilter(3,7)
#MostRecentlyAccessed
$fsrmReportManagerObj.GetDefaultFilter(4,3)
$fsrmReportManagerObj.GetDefaultFilter(4,7)
#QuotaUsage
$fsrmReportManagerObj.GetDefaultFilter(5)
如果要设置存储报告选项卡设置,使用 winapi,在文件服务器资源管理器的服务器属性中,您必须使用方法 SetDefaultFilter of the class FsrmReportManager