Skip to content

Instantly share code, notes, and snippets.

@bielawb
Created November 7, 2020 22:30
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 bielawb/7a050db6901c83e79acc6d01dbb24063 to your computer and use it in GitHub Desktop.
Save bielawb/7a050db6901c83e79acc6d01dbb24063 to your computer and use it in GitHub Desktop.
Tworzenie końcówki z wykorzystaniem pustego hasła
$runAsCred = [pscredential]::new(
'Domena\gMSA$',
[securestring]::new()
)
Register-PSSessionConfiguration -RunAsCredential $runAsCred -Name końcówkaGmsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment