Last active
September 9, 2017 20:42
-
-
Save artisticcheese/72ed49ce361066342bbd8f40211dc862 to your computer and use it in GitHub Desktop.
GMSa
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
Invoke-WebRequest "https://raw.githubusercontent.com/Microsoft/Virtualization-Documentation/live/windows-server-container-tools/ServiceAccounts/CredentialSpec.psm1" -UseBasicParsing -OutFile $env:TEMP\cred.psm1 | |
import-module $env:temp\cred.psm1 | |
New-CredentialSpec -Name win -AccountName containerhost | |
#This will return location and name of JSON file | |
Get-CredentialSpec | |
Name Path | |
---- ---- | |
win C:\ProgramData\docker\CredentialSpecs\win.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment