Public/Get-CAMClass.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
function Get-CAMClass
{
    <#
    .SYNOPSIS
        Function to retrieve Cireson Asset Management classes
    .DESCRIPTION
        Function to retrieve Cireson Asset Management classes
    .EXAMPLE
        Get-CAMClass
    .NOTES
        Francois-Xavier Cat
        @Lazywinadm
        www.lazywinadmin.com
        github.com/lazywinadmin
    #>

    PARAM
    (
    <#
        [Parameter(ValueFromPipelineByPropertyName = $true,
                   ValueFromPipeline = $true)]
        [Alias("Computer","__SERVER","CN")]
        [String[]]$ComputerName,
         
        [Alias("RunAs")]
        [System.Management.Automation.Credential()]
        $Credential = [System.Management.Automation.PSCredential]::Empty,
     
        $Name
    #>

    )
    Get-ScsmClass -name 'Cireson.AssetManagement.*'
}