Context and error This error happens when you use Skype For Business cmdlets in a remote PSSession. Active Directory error "-2147016672" occurred while searching for domain controllers in domain "mydomain.com": "An operations error occurred. " + CategoryInfo : NotSpecified: (:) [Get-CsConferencingPolicy], ADTransientException + FullyQualifiedErrorId : Microsoft.Rtc.Management.ADConnect.ADTransientException,Microsoft.Rtc.Management.Internal.GetConferencingPolicyCmdlet It is due to a double hop issue. Resolution … Continue reading [Solved] Skype cmdlet Active Directory error -2147016672
When you are searching Logon or Logoff event ID numbers, you may find a lot of old sites talking about ID 528 and ID 538. However, since Windows 7 and Windows Server 2008 R2, these event IDs don't apply anymore and are completely useless for those more recent operating systems. The Advanced Security Audit Policy … Continue reading “New” audit Logon/Logoff and other event IDs
You may get the following error message: Send-MailMessage : Cannot convert 'System.Collections.ArrayList' to the type 'System.String' required by parameter 'Body'. Specified method is not supported. The reason This error message is really explicit: The body of the mail must be a string and you are giving an array as input. The solution Unfortunately, you cannot … Continue reading [Solved] Send-MailMessage : Cannot convert ‘System.Collections.ArrayList’
Given that the Description property of the Get-GPO cmdlet has a Set method, this can be done with a simple one-liner.
Following the post of Josh RICKARD on 4SysOps about ISE snippets, I just wanted to share two of my personal snippets I use very often as a System Administrator. Foreach function with a server list from an array Foreach function with a server list imported from an file