-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from rebelinux/dev
v0.6.18
- Loading branch information
Showing
9 changed files
with
99 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
function Get-VbrBackupEntraIDInfo { | ||
<# | ||
.SYNOPSIS | ||
Function to extract veeam backup & replication entra id information. | ||
.DESCRIPTION | ||
Build a diagram of the configuration of Veeam VBR in PDF/PNG/SVG formats using Psgraph. | ||
.NOTES | ||
Version: 0.6.9 | ||
Author: Jonathan Colon | ||
Twitter: @jcolonfzenpr | ||
Github: rebelinux | ||
.LINK | ||
https://github.com/rebelinux/Veeam.Diagrammer | ||
#> | ||
[CmdletBinding()] | ||
[OutputType([System.Object[]])] | ||
|
||
Param | ||
( | ||
|
||
) | ||
process { | ||
Write-Verbose -Message "Collecting Entra ID information from $($VBRServer.Name)." | ||
try { | ||
$EntraIDs = Get-VBREntraIDTenant | ||
$EntraIDInfo = @() | ||
if ($EntraIDs) { | ||
foreach ($EntraID in $EntraIDs) { | ||
|
||
$Rows = @{ | ||
Region = $EntraID.Region | ||
CacheRepository = $EntraID.CacheRepository.Name | ||
} | ||
|
||
$TempEntraIDInfo = [PSCustomObject]@{ | ||
Name = $EntraID.Name.toUpper() | ||
Label = Get-DiaNodeIcon -Name "$($EntraID.Name.toUpper())" -IconType "VBR_Microsoft_Entra_ID" -Align "Center" -Rows $Rows -ImagesObj $Images -IconDebug $IconDebug | ||
AditionalInfo = $Rows | ||
} | ||
$EntraIDInfo += $TempEntraIDInfo | ||
} | ||
} | ||
|
||
return $EntraIDInfo | ||
} catch { | ||
Write-Verbose -Message $_.Exception.Message | ||
} | ||
} | ||
end {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.