Các lệnh Powershell hay sử dụng trong Office 365 Education

0
131

 


Remove-AzureADUser

Remove-AzureADUser
      -ObjectId <String>
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      [<CommonParameters>]

Ví dụ: Remove-AzureADUser -ObjectID sample@az.edu.vn

https://az.edu.vn/xoa-nguoi-dung-office-365-voi-powershell


Set-MsolUserPassword

Set-MsolUserPassword
   -ObjectId <Guid>
   [-NewPassword <String>]
   [-ForceChangePassword <Boolean>]
   [-ForceChangePasswordOnly <Boolean>]
   [-TenantId <Guid>]
   [<CommonParameters>]

Ví dụ: Set-MsolUserPassword -UserPrincipalName “sample@az.edu.vn” -NewPassword “pa$$word”

https://az.edu.vn/doi-mat-khau-nguoi-dung-office-365-voi-powershell


Add-TeamUser

Add-TeamUser
   -GroupId <String>
   -User <String>
   [-Role <String>]
   [<CommonParameters>]

Ví dụ: Add-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User “sample@az.edu.vn” -Role Owner

https://az.edu.vn/them-thanh-vien-vao-teams-voi-powershell


Remove-TeamUser

Remove-TeamUser
      -GroupId <String>
      -User <String>
      [-Role <String>]
      [<CommonParameters>]

Ví dụ: Remove-TeamUser -GroupId 31f1ff6c-d48c-4f8a-b2e1-abca7fd399df -User “sample@az.edu.vn” -Role Owner


 

=CHAR(RANDBETWEEN(65,90))

=CHAR(RANDBETWEEN(97,122))

BÌNH LUẬN

Vui lòng nhập bình luận của bạn
Vui lòng nhập tên của bạn ở đây