Functions/Get-SOAppliance.psm1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<#
    .Synopsis
    Lists all connected StoreOnce Appliannce(s).
 
    .Description
    Lists all connected StoreOnce Appliannce(s).
     
    .Example
    Get-SOAppliance
 
#Requires PS -Version 4.0
#>

function Get-SOAppliance {
    [CmdletBinding()]
    param (

    )
    Process {
        if (!$Global:SOConnections) {throw "No StoreOnce Appliance(s) connected! Use 'Connect-SOAppliance'"}
            
    Return $Global:SOConnections
    }
}