Exports the security information on a selected resource to a .CSV file.
|
TIP: This cmdlet is used with the Get-QResourceAccess cmdlet that generates the results to be exported. |
Export-QResourceAccess [-ResourceAccessResults] <QAM.Common.Interfaces.ResourceAccessQueryResults> [-OutputPath] <String> [[-DisplayInheritedSecurity] [<SwitchParameter>]] [[-OptimizeForExcel] [<SwitchParameter>]] [<CommonParameters>]
Parameter | Description |
---|---|
ResourceAccessResults | Specify the results of a resource access query (Get-QResourceAccess). |
OutputPath | Specify the path to the location on disk where the access results is to be written. |
DisplayInheritedSecurity |
(Optional) Specify this parameter if child objects with security exactly the same as the parent should be shown.
|
OptimizedForExcel |
(Optional) Specify this parameter if you want to export the output to Microsoft Excel.
|
Example | Description |
---|---|
C:\PS># get host id Get-QManagedHost # get the access for the resource $resourceAccess = Get-QResourceAccess -ManagedHostId 5b3e4a3c-9c7b-4da1-b6bc-db552ee51656 -ResourceType NTFS\Folder -Resources "C:\Test Data" # export the results Export-QResourceAccess -ResourceAccessResults $resourceAccess -OutputPath "C:\" |
Exports the results of a resource access query. |
Retrieves the resources contained in a specify root on a managed host. You can use this information to enumerate the contents of remote folders and shares.
|
Note: The cmdlet is similar to the standard Windows PowerShell Get-ChildItems cmdlet, but it functions using the Data Governance server as a proxy. Therefore, the client machine does not require direct access to the target machine. |
Get-QChildResources [-ManagedHostId] <String> [-ResourcePath] <String> [[-ResType] [QAM.Client.PowerShell.GetChildResourcesCmdlet+QueryResourceType]] [<CommonParameters>]
Parameter | Description | ||
---|---|---|---|
ManagedHostId |
Specify the ID (GUID format) of the managed host to be queried.
| ||
ResourcePath | Specify the path to the root resource. | ||
ResType |
(Optional) Specify the type of resource to be located. Available types include:
If this parameter is not specified, all resource types are returned. |
Example | Description |
---|---|
Get-QChildResources -ManagedHostId 5b3e4a3c-9c7b-4da1-b6bc-db552ee51656 -ResourceId "\\2k8rdjsql\Test Data" -ResType Folders | Retrieves a list of the child resources on the specified managed host. |
Detail | Description | ||
---|---|---|---|
Path | The full path of the child resource. | ||
DuGPath |
The path used for data under governance operations.
| ||
ManagedHostId | The value (GUID) assigned to the managed host where the resource is located. | ||
ResourceType | The type of child resource. | ||
Properties |
The properties of the child resource (such as name, date last modified, file size).
|
Search an NTFS folder or share for files. Using this command, you can search multiple data roots at once.
Get-QFileSystemSearchResults [-SearchRoots] <String[]> [-SearchTerm] <String> [[-ItemsRequested] [<Int32>]] [<CommonParameters>]
Parameter | Description |
---|---|
SearchRoots |
Specify a string array of NTFS roots to search. |
SearchTerm |
Specify the string that contains the search term. You can use the * wildcard character to search for resources. For example, enter Finance* to return all resources with a name that begins with Finance, *.txt to return all resources that end with .txt, and *Fin* to return all resources that contain "Fin". |
ItemsRequested | (Optional) Specify the number of items you would like returned. |
Example | Description |
---|---|
Get-QFileSystemSearchResults -SearchRoots "\\2K8R2DJSQL\C$\Test Data" -SearchTerm "*.txt" | Finds files with the .txt extension in the specified directory. |
The following details are returned for each file system resource found in the specified directory that matched the specified search term.
Detail | Description | ||
---|---|---|---|
Path | The full path of the file system resource. | ||
DuGPath |
The path used for data under governance operations.
| ||
ManageHostId | The ID (GUID format) of the managed host where the file system resource resides. | ||
ResourceType |
The type of resource. | ||
Properties |
Properties assigned to the file system resources (such as Attributes, Reserved, FileSize, LastModified).
|
Returns a list of the resource IDs associated with operations performed against a managed host during a given time frame.
|
Note: This PowerShell cmdlet does not support Cloud managed hosts. |
Get-QHostResourceActivities [[-ManagedHostId] [<String>]] [[-StartTime] [<DateTime>]] [[-EndTime] [DateTime>]] [[-HostType] [<String>]] [<CommonParameters>]
Parameter | Description | ||||
---|---|---|---|---|---|
ManagedHostId |
(Optional) Specify the ID (GUID format) of the managed host to be retrieved.
| ||||
StartTime |
(Optional) Specify the start date and time, which means you will only see activity information from that time forward. Specify the start time in (UTC) form: "23/01/2015 10:36:30 PM" | ||||
EndTime |
(Optional) Specify the end date and time, which means you will only see activity information before that time. Specify the end time in (UTC) form: "23/01/2015 10:37:30 PM" | ||||
HostType |
(Optional) Specify the type of host to be included in the results:
|
Example | Description |
---|---|
Get-QHostResourceActivities | Returns a list of all activity and associated resource IDs for all activity found in the resource activity database. |
Get-QHostResourceActivities -ManagedHostId "c0bc3da4-f660-4e18-8b14-a945c7a6be69" | Returns a list of all activity and associated resource IDs for all host types on the specified managed hosts. |
Get-QHostResourceActivities -ManagedHostId "c0bc3da4-f660-4e18-8b14-a945c7a6be69" -HostType "WindowsServer" | Returns activity information on the specified managed host, including only operations against Windows Servers. |
For each operation performed, the following details are returned:
Detail | Description |
---|---|
NodeId | The ID used to link the activity database to the QAMNode table. (AuditNodeId in QAMNode table.) |
ManagedHostId | The ID (GUID) of the managed host reporting the operation. |
ManagedHostName | The name of the managed host reporting the operation. |
ResourceId | The ID assigned to the operation that was performed. |
ParentResourceId | Shows which resource in the activity database is the parent. |
ResourcePath | For file system resources, the full path of the resource |
SharePointPath | For SharePoint resources, the full path of the resource |
TypeResource |
The type of resource. |
Operation |
The type of operation that was performed against the resource:
|
StartTime | The start date and time for collecting resource activity. Activity is stored in 'time spans'. |
EndTime | The end date and time for collecting resource activity. Activity is stored in 'time spans'. |
TrusteeType | The type of account that initiated the operation. |
TrusteeName | The name of the user who initiated the operation. |
TrusteeSid | The security identifier (SID) of the user who initiated the operation. |
AuditTrusteeId | The ID associated with the account that performed the operation. (UID_QAMTrustee in QAMTrustee table.) |
AccessCount | The number of times the operation occurred during the aggregation interval. |
© 2023 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy