Get-RegCurrentVersion

PS C:\> Get-Help -Full Get-RegCurrentVersion
NAME
Get-RegCurrentVersion
SYNOPSIS
Returns the Registry Key values from HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion
SYNTAX
Get-RegCurrentVersion [[-Path] <String>] [[-Property] <String>] [<CommonParameters>]
DESCRIPTION
Returns the Registry Key values from HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion for Online and Offline Windows Images
PARAMETERS
-Path <String>
Specifies the full path to the root directory of the offline Windows image that you will service.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Property <String>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
19.11.20 Added Pipeline Support
19.11.9 David Segura @SeguraOSD Initial Release
RELATED LINKS
https://osd.osdeploy.com/module/functions/get-regcurrentversion

Copy link
On this page
Get-Help -Full
Usage