Skip to content
View keystroke's full-sized avatar

Organizations

@Azure-Samples

Block or report keystroke

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Run PowerShell in a series of nested... Run PowerShell in a series of nested remote machines
    1
    # To import in your PowerShell runspace, run below command:
    2
    # irm https://aka.ms/InvokeRemoteCommand | iex
    3
    
                  
    4
    # To import in remote scriptblock, use below syntax:
    5
    # . ([scriptblock]::Create((irm 'https://aka.ms/InvokeRemoteCommand')))
  2. Self-contained example showing token... Self-contained example showing token APIs for AAD and ADFS.
    1
    # To import in your PowerShell runspace, run one of below commands:
    2
    # iex ([System.Net.WebClient]@{}).DownloadString('https://gist.githubusercontent.com/keystroke/5d54c3db4fe02ef6507daf97b9cc7bd8/raw')
    3
    # irm https://gist.githubusercontent.com/keystroke/5d54c3db4fe02ef6507daf97b9cc7bd8/raw | iex
    4
    
                  
    5
    # To import in remote scriptblock, use below syntax:
  3. Get-CertificateChainFromEndpoint Get-CertificateChainFromEndpoint
    1
    # To import in your PowerShell runspace, run below command:
    2
    # irm 'https://gist.githubusercontent.com/keystroke/643bcbc449b3081544c7e6db7db0bba8/raw' | iex
    3
    
                  
    4
    <#
    5
    .Synopsis