diff options
author | Kevin Robertson <robertsonk@gmail.com> | 2017-09-07 12:54:10 -0400 |
---|---|---|
committer | Kevin Robertson <robertsonk@gmail.com> | 2017-09-07 12:54:10 -0400 |
commit | 894a0e803e52ac670171b29dce891b7a2f2e79d0 (patch) | |
tree | 59c5628d06d92d37ff70c995c14041a483f44813 /README.md | |
parent | 453646d40532900c9da56bbf97dee51fd6d74112 (diff) | |
download | Powermad-894a0e803e52ac670171b29dce891b7a2f2e79d0.tar.gz Powermad-894a0e803e52ac670171b29dce891b7a2f2e79d0.zip |
Readme update
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -42,13 +42,33 @@ Note that ms-DS-MachineAccountQuota does not provide the ability for authenticat * Add a new machine account `New-MachineAccount -MachineAccount iamapc` +* Use the added account with runas /netonly +`runas /netonly /user:domain\iamapc$` + ## Disable-MachineAccount This function can disable a machine account that was added through New-MachineAccount. This function should be used with the same user that created the machine account. ## Set-MachineAccountAttribute -This function can populate some attributes for an account that was added through New-MachineAccount, if a user has write access. This function should be used with the same user that created the machine account. +This function can populate some attributes for an account that was added through New-MachineAccount, if a user has write access. This function should be used with the same user that created the machine account. + +Here is a list of some of the usual write access enabled attributes: + +* AccountDisabled +* description +* displayName +* DnsHostName +* ServicePrincipalName +* userParameters +* userAccountControl +* msDS-AdditionalDnsHostName +* msDS-AllowedToActOnBehalfOfOtherIdentity +* SamAccountName + +* Remove the trailing '$' from the SamAccountName attribute and then use the account with runas /netonly +`Set-MachineAccountAttribute -MachineName iamapc -Attribute SamAccountName -Value iamapc` +`runas /netonly /user:domain\iamapc` ## Get-MachineAccountAttribute |