Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaranionjc committed Jan 25, 2024
1 parent c0ccec2 commit 0f50fdd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jumpcloud-ADMU/Powershell/Start-Migration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,8 @@ function Get-UserFileTypeAssociation {
}
process {
$list = @()

$testHive = Get-ChildItem -Path "HKEY_USERS:\$($UserSid)_admu\"
Write-ToLog "Testhive: $testHive"
$pathRoot = "Registry::HKEY_USERS\$($UserSid)_admu\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\"
$exts = Get-ChildItem $pathRoot*
foreach ($ext in $exts) {
Expand Down Expand Up @@ -1471,9 +1472,10 @@ function Get-ProtocolTypeAssociation{
}
process {
$list = @()
$testHive = Get-ChildItem -Path "HKEY_USERS:\$($UserSid)_admu\"
Write-ToLog "Testhive: $testHive"
$pathRoot = "Registry::HKEY_USERS\$($UserSid)_admu\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\"
# Enable long paths
Write-ToLog Get-ChildItem $pathRoot*
Get-ChildItem $pathRoot* |
ForEach-Object {

Expand Down

0 comments on commit 0f50fdd

Please sign in to comment.