Skip to content

Instantly share code, notes, and snippets.

@gravcat
Created September 29, 2017 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gravcat/8f6a856128bf6d9438eb661d49408834 to your computer and use it in GitHub Desktop.
Save gravcat/8f6a856128bf6d9438eb661d49408834 to your computer and use it in GitHub Desktop.
# https://blogs.technet.microsoft.com/stefan_stranger/2017/07/31/using-azure-custom-script-extension-to-execute-scripts-on-azure-vms/
Enter-PSSession -ComputerName $comp -Credential $credential -UseSSL -SessionOption (New-PsSessionOption -SkipCACheck -SkipCNCheck)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment