aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Robertson <robertsonk@gmail.com>2017-09-07 12:54:10 -0400
committerKevin Robertson <robertsonk@gmail.com>2017-09-07 12:54:10 -0400
commit894a0e803e52ac670171b29dce891b7a2f2e79d0 (patch)
tree59c5628d06d92d37ff70c995c14041a483f44813
parent453646d40532900c9da56bbf97dee51fd6d74112 (diff)
downloadPowermad-894a0e803e52ac670171b29dce891b7a2f2e79d0.tar.gz
Powermad-894a0e803e52ac670171b29dce891b7a2f2e79d0.zip
Readme update
-rw-r--r--README.md22
1 files changed, 21 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6673a3f..9a60bd4 100644
--- a/README.md
+++ b/README.md
@@ -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