Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyone know how to retrieve the export policies attached to qtrees? The get-ncqtree does not return it. If I invoke get-ncssh with qtree show -field export-policy, the policy is returned but in a format that can't be retrieved.
What I am trying to do is duplicate export access from a source vserver to a destination vserver for qtrees. If anyone has figured out how to do this, please point me in the right direction. Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi stephen,
You can get the export policies for each qtree using the Get-NcQtree commandlet. You need to save it to an object and access the property in the following way:
$qtrees = Get-NcQtree
foreach ( $qt in $qtrees ) {
Write-Host $qt.Qtree -> $qt.ExportPolicy
}
-Dhruv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind. It is exposed with the 3.1 toolkit. I was using 3.0 I updated and it now returns export policy
Thanks
