Microsoft/Exchange 2016 2016. 6. 22. 17:38

https://blogs.technet.microsoft.com/exchange/2016/06/16/dag-activation-preference-behavior-change-in-exchange-server-2016-cu2/

 

#기본적으로 1시간마다 DAG 밸런스를 위하여 핑퐁침

By default, the Replication service will inspect the database copies and perform a rebalance every one hour. You can modify this behavior using the following command:

 

Set-DatabaseAvailabilityGroup <Name> -PreferenceMoveFrequency <value in the format of 00:00:00>

 

#한방에 DAG 원복하는 스크립트

RedistributeActiveDatabase.ps1 (bin에 있겠지?)

 

If you are leaving the behavior enabled, and you have created a scheduled task to execute RedistributeActiveDatabases.ps1, you can remove the scheduled task after upgrading the DAG to CU2.

 

 

posted by 백아
:
Microsoft/Windows 2016. 3. 11. 17:36

 

이벤트뷰어 쓰기 파워셀 하기와 같이 보내드리며,

 EventLog 원본선언은 1번만 하시면 되겠습니다.


New-EventLog -LogName Application -Source
My Script
Write-EventLog -LogName Application -Source "My Script" -EntryType Error -EventID 1 -Message "Test"




New-EventLog -LogName Application -Source “My Script”

Write-EventLog -LogName Application -Source "My Script" -EntryType Error -EventID 257 -Message "Test"

Write-EventLog -LogName Application -Source "My Script" -EntryType Error -EventID 258 -Message "Test"




#
이벤트뷰어 쓰기 URL
http://blogs.technet.com/b/heyscriptingguy/archive/2013/06/20/how-to-use-powershell-to-write-to-event-logs.aspx

 


posted by 백아
:
Microsoft/OCS 2007 R2 2015. 12. 22. 17:00

http://learningpcs.blogspot.kr/2010/07/communicator-enable-conversation.html#!/2010/07/communicator-enable-conversation.html


#CMD 관리자 권한이 필요할 수 있음 


reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator /v IMAutoArchivingPolicy /t

REG_DWORD /d 1



reg add HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator /v IMAutoArchivingPolicy /t

REG_DWORD /d 0





posted by 백아
: