Reputation
1,725
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 13
Newest
 Critic
Impact
~114k people reached

  • 0 posts edited
  • 0 helpful flags
  • 91 votes cast
8h
comment How to cast as ArrayList AND preset data in param block?
Looks like a bug(?) when Powershell processes the CLI args. The implied CLI vartype [array] if overriding what is specified in the paramblock [arraylist]. I gave it a try, but all I could come up with is a slightly different work around that still manipulated $properties outside of the param block. You can do the following to pass it as an arraylist, and it works, but them usage becomes rather clunky. #line1#[System.Collections.ArrayList]$al = "grey","purple" #line2#test-me -properties $al
12h
revised Bulk Update AD Attribues with Employee ID as matched key
added 839 characters in body
Jul
24
revised Bulk Update AD Attribues with Employee ID as matched key
Updated code
Jul
23
comment Bulk Update AD Attribues with Employee ID as matched key
Does the CSV have values for each field of each user? Are any of them null/blank?
Jul
23
revised Bulk Update AD Attribues with Employee ID as matched key
added 17 characters in body
Jul
23
answered Bulk Update AD Attribues with Employee ID as matched key
Jul
23
comment Bulk Update AD Attribues with Employee ID as matched key
Easiest to discuss if you modify original post with "current" code. Within the "$Users | foreach" loop "$users" does not exist. Use "$_" for the current object of each loop iteration, aka $_.samaccountname.
Jul
22
comment Add A record to Windows AD DNS remotely via cmdline?
If you're using DHCP, you could also have the DHCP server register the DNS name on behalf of the client.
Jul
22
comment AD keeps local accounts from timing out?
Why do you only have 1 domain controller? Build another for redundancy <easyButton>
Jul
22
answered dns a records become static
Jul
21
answered How do I get the free space of a remote disk without admin privileges? (Windows)
Jul
21
comment Check backpressure live on Exchange2010 server
Windows Performance Monitor provides live performance data, and there are many counters for Exchange. SCOM (system center operations manager) is the product MS sells for enterprise monitoring.
Jul
20
comment Password Expiration / DNS Issue
You can determine if the logon is using "cached credentials" by looking for event 4624 in the security log. Look for "new logon" where the "security id" is the users name. There will be also be a good number of System and Anonymous logons. A Logon Type of 11 indicates a cached logon.See msdn.microsoft.com/en-us/library/aa394189%28v=vs.85%29.aspx for list of all logon types.
Jul
14
revised Users Home drive given local admin permission by ADU&C when creating user
added 73 characters in body
Jul
14
answered Users Home drive given local admin permission by ADU&C when creating user
Jul
14
comment LDAP Query Of All Users In Various Groups In A Specific ActiveDirectory OU
LDAP searches against properties that contain distinguished names cannot be wildcarded. Can you modify your user provisioning process so there is one group that all Atlassian users belong to? This group would control the sync but not grant any access within the app.
Jul
2
comment DFS replication monitoring under a non-administrative account
Not sure if this would work, and Deny ACLs often create more problems than they solve... But you might try making the account a local admin, and then apply a Deny ACL to the filesystem data for that account.
Jul
2
comment How to work around a “logon workstations” restriction to the Domain Controller stopping authentication via LDAP
For those users, try adding the name of the Linux server to "logon workstations" or removing all values from "logon workstations"
Jul
2
comment How to retrieve previous IP/DNS information from Domain Controller logs?
Ask that team to check their log files for the IP/MAC address in use at that time.
Jul
2
answered How to retrieve previous IP/DNS information from Domain Controller logs?