# GET-BTHELP.PS1
# Binary Tree Inc
# Sept 2019
# Disclaimer: This example script is shared freely without warranty or support. It is only intended to provide guidance by example to project administrators.
# Get Full Help Details for all Binary Tree PowerShell Commands
# File will be saved in the location the script was run. Modify the name if desired.
$file = ".\BinaryTreePowerShellCommandsFullHelpDetails.txt"
$COUsers = @()
# Get all the Binary Tree Modules
$COUsers = Get-Command -Module BinaryTree.Power365 | select -expand name
cls
write-host
write-host "The full Help details for each of these commands have been exported to" $file
write-host
$COUsers
foreach ($COUser in $COUsers){
# Get Help with full details
$users_sync = @()
$users_sync = Get-Help $COUser -full
# Display & Export Results
$users_sync | Out-File -FilePath $file -Append
}
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center