Helpers.psd1

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
@{
    RootModule = 'Helpers.psm1'
    ModuleVersion = '0.1.12'
    GUID = '85f1dce3-d325-4622-adf3-40888ddb6813'
    Author = 'Nicholas Dille'
    #CompanyName = ''
    Copyright = '(c) 2017 Nicholas Dille. All rights reserved.'
    Description = 'Helpers for my other modules'
    # PowerShellVersion = ''
    # RequiredModules = @()
    FunctionsToExport = @(
        # DefaultParameterValue
        'Backup-DefaultParameterValue'
        'Get-DefaultParameterValue'
        'Remove-DefaultParameterValue'
        'Restore-DefaultParameterValues'
        'Set-DefaultParameterValue'

        # CIM
        'Clear-CimSession'
        'New-SimpleCimSession'
        'Set-CimSession'
        
        # Credential
        'Clear-Credential'
        'Get-CredentialFromStore'
        'New-CredentialInStore'
        'New-Password'
        'Set-Credential'
        'Test-Credential'

        # Encryption
        'ConvertFrom-EncryptedString'
        'ConvertFrom-UnattendedXmlPassword'
        'Get-PlaintextFromSecureString'

        # PSSession
        'Clear-PSSession'
        'Enter-PsRemoteSession'
        'New-PsRemoteSession'
        'Set-PSSession'

        # Conversion
        'ConvertFrom-Base64'
        'ConvertFrom-ByteArray'
        'ConvertFrom-Bytes'
        'ConvertTo-Base64'
        'ConvertTo-ByteArray'
        'ConvertTo-Bytes'

        # XML
        'Export-XmlNode'

        # Docker
        'Find-DockerImageTag'

        # Date/time
        'Get-Epoch'

        # Encoding
        'Set-UnixLineEnding'
    )
    CmdletsToExport = @()
    VariablesToExport = '*'
    AliasesToExport = @()
    PrivateData = @{
        PSData = @{
            # Tags = @()
            # LicenseUri = ''
            # ProjectUri = ''
            # ReleaseNotes = ''
        }
    }
}