Get-SessionsXml
Get-Help -Full
PS C:\> Get-Help -Full Get-OSDSessions
NAME
Get-OSDSessions
SYNOPSIS
Returns the Session.xml Updates that have been applied to an Operating System
SYNTAX
Get-OSDSessions [[-Path] <String>] [<CommonParameters>]
DESCRIPTION
Returns the Session.xml Updates that have been applied to an Operating System
PARAMETERS
-Path <String>
Specifies the full path to the root directory of the offline Windows image that you will service
Or Path of the Sessions.xml file
If this value is not set, the running OS Sessions.xml will be processed
Required? false
Position? 1
Default value "$env:SystemRoot\Servicing\Sessions\Sessions.xml"
Accept pipeline input? true (ByPropertyName)
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 Path now supports Mounted WIM Path
19.10.14 David Segura @SeguraOSD Initial Release
RELATED LINKS
https://osd.osdeploy.com/module/functions/get-osdsessions
Running OS
Mounted Image
Last updated