Skip to primary content
Skip to secondary content

server1.dk

Tech Tips

server1.dk

Main menu

  • Home

Tag Archives: ad

Powershell wait for AD object to be created

Posted on June 21, 2016 by Henrik
Reply
while (!(Get-ADgroup -Filter { Name -like "the_AD_object"}))
{
write-host wait
    start-sleep -m 1000
} 
Posted in Uncategorized | Tagged Active Directory, ad, powershell | Leave a reply

Filter security log based on account name

Posted on March 1, 2013 by Henrik
Reply
<QueryList>
  <Query Id="0" Path="Security">
    <Select Path="Security">* [EventData[Data[@Name='TargetUserName']='administrator']]</Select>
  </Query>
</QueryList>
Posted in Uncategorized | Tagged ad, log | Leave a reply

SMTP search Windows 7

Posted on January 23, 2013 by Henrik
Reply

Start/run C:\Windows\System32\rundll32.exe dsquery.dll,OpenQueryWindow
In search window proxyaddresses=smtp:user@domain.com
smtp

Posted in Uncategorized | Tagged ad, ldap | Leave a reply

Find AD FSMO via CMD

Posted on January 2, 2013 by Henrik
Reply

netdom query /domain:dom.local fsmo

Posted in Uncategorized | Tagged ad | Leave a reply
Recommended by server1.dk

Tags

  • 32bit
  • 64bit
  • Active Directory
  • ad
  • array
  • Azure
  • azure ad
  • azure function
  • cmd
  • costcenter
  • curl
  • datalake
  • Exchange
  • Exchange 2016
  • gateway
  • hashtable
  • integer
  • linux
  • network
  • nuget
  • ping
  • pip
  • policy
  • ports
  • powershell
  • print
  • public folder
  • random
  • remote
  • REST
  • Roles
  • rsat
  • sms
  • sql
  • SSL
  • string
  • tags
  • tcp
  • text message
  • Virtual Machine
  • windows
  • Windows 10
  • Windows 11
  • windows server
  • Windows Update

Recent Posts

  • You can’t access this shared folder because your organization’s security policies block unauthenticated guest access April 25, 2025
  • Download Windows 11 trial without registration March 18, 2025
  • Link to download English version of Windows Server 2025 without registration December 23, 2024

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress