-
Notifications
You must be signed in to change notification settings - Fork 10
/
Tests.ps1
19 lines (14 loc) · 1.11 KB
/
Tests.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.\Build.ps1
Import-Module ".\bin\release\FU.WhyAmIBlocked" -Force
Initialize-FUModule -reset
#Get-FUBlocks
#Get-FUBlocksFromBin -FileList "C:\Users\Adam\OneDrive - A Square Dozen\FeatureUpdateBlocks\PW00FEBC_20220921_062327\XML\AppCompatAppraiser_APPRAISER_TelemetryBaseline_NI22H2.bin_HUMANREADABLE.XML" -Output (New-Object -TypeName System.Collections.ArrayList )
Get-FUBlocks -Local -AlternateSourcePath "C:\Temp\AltSource"
#ToDo Usage Examples
#Get-FUBlocks -DeviceName "MyDevice"
#Get-FUBlocks -AlternateSourcePath "C:\FeatureUpdateBlocks\Alt"
#Get-FUBlocksFromXML -FileList ("C:\FeatureUpdateBlocks\Alt\APPRAISER_TelemetryBaseline_20H1.bin_HUMANREADABLE.XML","C:\FeatureUpdateBlocks\Alt\APPRAISER_TelemetryBaseline_UNV.bin_HUMANREADABLE.XML")
#ConvertFrom-FUBinToXML -FileList "C:\FeatureUpdateBlocks\Alt\APPRAISER_TelemetryBaseline_20H1.bin" -OutputPath "C:\FeatureUpdateBlocks\Output"
#Extract-FUXMLFromSDB -path C:\FeatureUpdateBlocks\MyDevice
#Get-FUBlocksFromXML -FileList (Get-Item -Path "C:\FeatureUpdateBlocks\MyDevice\*human*.xml").FullName -ResultFile C:\FeatureUpdateBlocks\MyDevice\result.txt
#Export-FUBypassBlock