Pages

Tuesday, November 12, 2024

How to add & upload bulk users in Office 365 distribution group


 File Security-Group-Members.csv



1.  Connect-ExchangeOnline

2. Import-Csv C:\temp\Security-Group-Members.csv | ForEach {Add-DistributionGroupMember -Identity "AllStaffTest1@unicons.vn" -Member $_.Name}

Tuesday, April 16, 2024

Thay đổi Đối tượng User thành Đối tượng inetOrgPerson (hoặc Ngược lại) trong Active Directory

Example 1
The following example demonstrates how to convert the user object, SaraDavis, to an inetOrgPerson object:
Set-ADUser SaraDavis -Add @{objectClass='inetOrgPerson'}

Example 2
The following example demonstrates how to convert the inetOrgPerson object, SaraDavis, to a user object.
Set-ADUser SaraDavis -Remove @{objectClass='inetOrgPerson'}

Thursday, March 28, 2024

Free pdf editor

Free pdf editor
https://www.pdfgear.com/?utm_source=kevin&utm_medium=youtube

Friday, January 26, 2024

Download Apps O365

https://portal.office.com/account/?ref=MeControl#installs

Wednesday, January 24, 2024

Set Outlook Offline

Set Outlook Offline
Sub SetOfflineMode()
Dim appOutlook
Dim blnIsOffline

On Error Resume Next
Set appOutlook = CreateObject("Outlook.Application")

  If Err.Number = 0 Then
     blnIsOffline = appOutlook.Session.Offline
   If Not blnIsOffline Then
     appOutlook.ActiveExplorer.CommandBars.ExecuteMso ("ToggleOnline")
   End If
  Else
  End If
If Not (appOutlook Is Nothing) Then Set appOutlook = Nothing
End Sub

Monday, January 22, 2024

Unlock user admin Forescout

fstool unlock_console_user admin

Friday, December 8, 2023

MAXHUB Share Software

Link download 

https://www.maxhub.com/en/screen_share/

Monday, September 25, 2023

Adding a shared network drive as a Trusted Location

1) Open start menu and look for Internet Options
2) Go to Security
3) Trusted Sites
4) Sites
5) Untick Require server verification (https:) for all sites in this zone
6) Add the drive (you can add just the mapped drive letter, and it will convert it to UNC, or just the ip of the host)

In excel if it doesn't work also check that in the Trust Center and make sure network locations are authorized and that macro security level is set to at least have a notification that you will be able to accept.

Friday, September 15, 2023

Unban 1 IP - Gỡ IP ra khỏi fail2ban

Unban 1 IP

1. Kiểm tra IP có bị chặn không.

iptables -v -L -n



2. Gỡ IP ra khỏi danh sánh
fail2ban-client set  asterisk-cpbx unbanip 10.10.6.65



Monday, September 11, 2023

Xóa mail box trên cloud

Xóa mail box trên cloud

Get-User user@domain.com | Select name,*Recipient*

Set-User user@domain.com -PermanentlyClearPreviousMailboxInfo -confirm:$false