Description
Instructions say to run the script (after running Set-ExecutionPolicy unrestricted
) and that you will be prompted for where the ISO is mounted.
Doing so generates 52 lines of error, the captured output is below:
The output is below, but the formatting is a bit off due to markup:
`The variable cannot be validated because the value D:\users\jbb\Downloads\Tiny-11\tiny11builder-main is not a valid
value for the ScratchDisk variable.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:10 char:5
-
$ScratchDisk = $PSScriptRoot -replace '[\\]+$', ''
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : MetadataError: (:) [], ValidationMetadataException
- FullyQualifiedErrorId : ValidateSetFailure
Scratch disk set to
New-Object : Cannot create type. Only core types are supported in this language mode.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:30 char:13
- $adminSID = New-Object System.Security.Principal.SecurityIdentifier(" ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : PermissionDenied: (:) [New-Object], PSNotSupportedException
- FullyQualifiedErrorId : CannotCreateTypeConstrainedLanguage,Microsoft.PowerShell.Commands.NewObjectCommand
You cannot call a method on a null-valued expression.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:31 char:1
- $adminGroup = $adminSID.Translate([System.Security.Principal.NTAccoun ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
Cannot invoke method. Method invocation is supported only on core types in this language mode.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:32 char:1
- $myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent( ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : MethodInvocationNotSupportedInConstrainedLanguage
new-object : Cannot create type. Only core types are supported in this language mode.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:33 char:21
- ... wsPrincipal=new-object System.Security.Principal.WindowsPrincipal($my ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : PermissionDenied: (:) [New-Object], PSNotSupportedException
- FullyQualifiedErrorId : CannotCreateTypeConstrainedLanguage,Microsoft.PowerShell.Commands.NewObjectCommand
You cannot call a method on a null-valued expression.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:35 char:5
- if (! $myWindowsPrincipal.IsInRole($adminRole))
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : InvokeMethodOnNull
Transcript started, output file is \tiny11.log
Cannot set property. Property setting is supported only on core types in this language mode.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:50 char:1
- $Host.UI.RawUI.WindowTitle = "Tiny11 image creator"
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : PropertySetterNotSupportedInConstrainedLanguage
`