Allow running live scripts in debug mode
This commit is contained in:
parent
1701213a77
commit
c5bb953dc0
2 changed files with 39 additions and 0 deletions
scripts/Common/Scripts
|
@ -280,6 +280,14 @@ $null = New-Module {
|
|||
Get-Config "valhalla.software.$Name";
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks whether the running system is a QEMU virtual machine.
|
||||
#>
|
||||
function Test-Qemu {
|
||||
((Get-WmiObject win32_computersystem).Manufacturer) -eq "QEMU";
|
||||
}
|
||||
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks whether the current user is the setup user.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue