Public/Get-UWFOverlayType.ps1
Function Get-UWFOverlayType { <# .SYNOPSIS Get the type of overlay to which file and registry changes are redirected. .DESCRIPTION Get the type of overlay to which file and registry changes are redirected. .INPUTS None .EXAMPLE Get-UWFOverlayType .LINK about_functions_advanced .LINK about_CommonParameters #> [CmdletBinding()] Param() Begin { } Process { If (!$Script:UWF -or !$Script:UWFOverlayConfig) { Throw "Unable to retrieve Unified Write Filter settings." } } End { Return $Script:UWFOverlayConfig.Type } } |