Skip to content

Instantly share code, notes, and snippets.

@ahndmal
Created August 17, 2024 07:29
Show Gist options
  • Save ahndmal/bf8eac278f2f2ce13faa9a954eb85513 to your computer and use it in GitHub Desktop.
Save ahndmal/bf8eac278f2f2ce13faa9a954eb85513 to your computer and use it in GitHub Desktop.
Get-Item -Path env:
Get-Item -Path env:JAVA_HOME
# Job
Get-Job -State Started
Get-Job -Name "ja*"
# SET
Set-Item -Path env:JAVA_HOME -Value "C:\Users\andrii\java"
Set-Item -Path Registry::HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\office\16.0\common\signin |>> Select-Object -ExpandProperty Property
Set-Item -Path function:prompt -Options "AllScope,ReadOnly"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment