Last active
December 13, 2015 23:13
-
-
Save justinyoo/2d04aa42e5d28d6a7bc6 to your computer and use it in GitHub Desktop.
Web API App-Only with Graph API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\WINDOWS\system32> $cert = (Get-Item Cert:\LocalMachine\My\EBD8********************************6E42) | |
PS C:\WINDOWS\system32> $store = (Get-Item Cert:\Localmachine\Root) | |
PS C:\WINDOWS\system32> $flags = [System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite | |
PS C:\WINDOWS\system32> $store.Open($flags) | |
PS C:\WINDOWS\system32> $store.Add($cert) | |
PS C:\WINDOWS\system32> $store.Close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment