#winget install --id Git.Git -e --source winget #Get-ExecutionPolicy #Set-ExecutionPolicy RemoteSigned #cd "$env:USERPROFILE\Downloads" ; git clone https://hmg.studio/HomeHosted/winget.git ; cd winget # Command 1: Install Git without admin privileges winget install --id Git.Git -e --source winget # Command 2: Get current execution policy without admin privileges Get-ExecutionPolicy # Command 3: Set execution policy to RemoteSigned with admin privileges Start-Process powershell -ArgumentList "Set-ExecutionPolicy RemoteSigned -Scope CurrentUser" -Verb RunAs -Wait # Command 4: Change directory, clone repository, and change directory without admin privileges cd "$env:USERPROFILE\Downloads" ; git clone https://hmg.studio/HomeHosted/winget.git ; cd winget