Public/Get-OSD.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
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
77
78
79
80
81
82
83
84
85
86
<#
.SYNOPSIS
Displays information about the OSD Module
 
.DESCRIPTION
Displays information about the OSD Module
 
.LINK
https://osd.osdeploy.com/module/functions/get-osd
 
.NOTES
19.10.1 David Segura @SeguraOSD
#>

function Get-OSD {
    [CmdletBinding()]
    Param ()
    #==================================================
    # Defaults
    #==================================================
    $Info = $true
    #==================================================
    # Info
    #==================================================
    if ($Info) {
        $OSDModuleVersion = $($MyInvocation.MyCommand.Module.Version)
        Write-Host "OSD Module PowerShell Shared Library $OSDModuleVersion"
        Write-Host "http://osd.osdeploy.com/release" -ForegroundColor Cyan
        Write-Host
        Write-Host 'Functions'
        Write-Host 'Get-OSD ' -ForegroundColor Cyan -NoNewline
        Write-Host 'This information' -ForegroundColor Gray
        Write-Host 'Get-OSDClass ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Returns CimInstance information from common OSD Classes' -ForegroundColor Gray
        Write-Host 'Get-OSDGather ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Returns common OSD information as an ordered hash table' -ForegroundColor Gray
        Write-Host 'Get-OSDPower ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Displays Power Plan information using powercfg /LIST' -ForegroundColor Gray
        Write-Host 'Get-OSDSessions ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Returns the Session.xml Updates that have been applied to an Operating System' -ForegroundColor Gray
        Write-Host 'Get-OSDWinPE ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Common WinPE Commands using wpeutil and Microsoft DaRT RemoteRecovery' -ForegroundColor Gray
        Write-Host 'Get-RegCurrentVersion ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Returns the Registry Key values from HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -ForegroundColor Gray
        Write-Host 'Save-OSDDownload ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Downloads a file by URL to a destionation folder' -ForegroundColor Gray
        Write-Host
        Write-Host 'Driver Functions'
        Write-Host 'Get-OSDDriver ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Returns Driver download links for Amd Dell Hp Intel and Nvidia' -ForegroundColor Gray
        Write-Host 'Get-OSDDriverWmiQ ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Select multiple Dell or HP Computer Models to generate a proper Task Sequence WMI Query' -ForegroundColor Gray
        Write-Host
        Write-Host 'Disk Functions'
        Write-Host 'New-OSDDisk ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Creates System | OS | Recovery Partitions for MBR or UEFI Drives in WinPE' -ForegroundColor Gray
        Write-Host
        Write-Host 'Windows Image Functions'
        Write-Host 'Mount-OSDWindowsImage ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Give it a WIM, let it do the rest' -ForegroundColor Gray
        Write-Host 'Update-OSDWindowsImage ' -ForegroundColor Cyan -NoNewline
        Write-Host 'Identify, Download, and Apply Updates to a Mounted Windows Image' -ForegroundColor Gray
        Write-Host
        Write-Host 'Update the OSD Module'
        Write-Host 'Update-Module OSD -Force' -ForegroundColor Cyan
        Write-Host
        Write-Host "OSD Module Collaborators"
        Write-Host "Andrew Jimenez " -ForegroundColor Cyan -NoNewline
        Write-Host "@AndrewJimenez_" -ForegroundColor Gray
        Write-Host "Ben Whitmore " -ForegroundColor Cyan -NoNewline
        Write-Host "@byteben" -ForegroundColor Gray
        Write-Host "David Segura " -ForegroundColor Cyan -NoNewline
        Write-Host "@SeguraOSD" -ForegroundColor Gray
        Write-Host "Donna Ryan " -ForegroundColor Cyan -NoNewline
        Write-Host "@TheNotoriousDRR" -ForegroundColor Gray
        Write-Host "Gary Blok " -ForegroundColor Cyan -NoNewline
        Write-Host "@gwblok" -ForegroundColor Gray
        Write-Host "Jerome Bezet-Torres " -ForegroundColor Cyan -NoNewline
        Write-Host "@JM2K69" -ForegroundColor Gray
        Write-Host "Jordan Benzing " -ForegroundColor Cyan -NoNewline
        Write-Host "@JordanTheITguy" -ForegroundColor Gray
        Write-Host "Manel Rodero " -ForegroundColor Cyan -NoNewline
        Write-Host "@manelrodero" -ForegroundColor Gray
        Write-Host "Nathan Bridges " -ForegroundColor Cyan -NoNewline
        Write-Host "@nathanjbridges" -ForegroundColor Gray
    }
}