Private/Helper/Test-IsPhysical.ps1

<#
Copyright © 2024 Integris. For internal company use only. All rights reserved.
#>


FUNCTION Test-IsPhysical {
    <#
    .SYNOPSIS
    Determines if the system is a physical machine.
 
    .DESCRIPTION
    This function checks if the system is a physical machine by verifying it is not a virtual machine.
 
    .PARAMETER None
 
    .EXAMPLE
    Test-IsPhysical
 
    .NOTES
    The function relies on the IsVirtual function to determine the system type.
    #>


    IF (Test-IsVirtual) { RETURN $False }
    ELSE { RETURN $True }
}