< Back

Get-SessionsXml

Sat Jan 18, 2020 6:10 pm

NAME Get-SessionsXml



SYNOPSIS

Returns the Session.xml Updates that have been applied to an Operating System





SYNTAX

Get-SessionsXml [[-Path] <String>] [[-KBNumber] <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



-KBNumber <String>

Returns the KBNumber



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.20 Path now supports Mounted WIM Path

19.10.14 David Segura @SeguraOSD Initial Release





RELATED LINKS

https://osd.osdeploy.com/module/functio ... essionsxml