View DestinationGroup Permission02
コマンド) | |
Get-RecipientPermission -Identity "<該当グループのメール アドレス>" | Select Identity,Trustee,AccessRights | |
例) | |
Get-RecipientPermission -Identity "MLGroup@contoso.com" | Select Identity,Trustee,AccessRights |
View DestinationGroup Permission
コマンド) | |
Add-RecipientPermission -Identity <該当グループのメール アドレス> -AccessRights SendAs -Trustee <権限を付与するユーザーのメール アドレス> -Confirm: $False | |
例) | |
Add-RecipientPermission -Identity MLGroup@domain.com -AccessRights SendAs -Trustee UserAcount@domain.com -Confirm:$False |
View PowerShell PS1ファイル作成
$UserCredential = Get-Credential | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection | |
Import-PSSession $Session -DisableNameChecking |
View PowerShell接続
Get-ExecutionPolicy | |
Set-ExecutionPolicy RemoteSigned | |
$UserCredential = Get-Credential | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection | |
Import-PSSession $Session -DisableNameChecking |
View テナント全体でチームの作成を制限
<実行するコマンド> | |
Import-Module AzureADPreview; | |
Connect-AzureAD; | |
$template = Get-AzureADDirectorySettingTemplate -Id 62375ab9-6b52-47ed-826b-58e47e0e304b; | |
$setting = $template.CreateDirectorySetting(); | |
$setting["EnableGroupCreation"] = $false; New-AzureADDirectorySetting -DirectorySetting $setting; |
View 現在の設定値を確認
(Get-AzureADDirectorySetting).Values | |
<出力例> | |
Name Value | |
---- ----- | |
CustomBlockedWordsList | |
EnableMSStandardBlockedWords False | |
ClassificationDescriptions | |
DefaultClassification | |
PrefixSuffixNamingRequirement |
View AzureSession
Azure AD に接続 | |
Import-Module AzureADPreview | |
Connect-AzureAD | |
View ADSL Skypeforbusiness
◆ Skype for Business Online の先進認証について | |
【先進認証の設定状況を確認するコマンド】 | |
<コマンド> | |
Get-CsOAuthConfiguration | fl ClientAdalAuthOverride | |
<実行結果例> | |
ClientAdalAuthOverride : Disallowed | |
<説明> | |
Skype for Business Online 側の先進認証が有効である場合には Allowed、無効である場合には Disallowed が返されます。 | |
【先進認証を有効にする】 | |
<コマンド> |
View ADAL exchange
◆ Exchange Online の先進認証について | |
【先進認証の設定状況を確認するコマンド】 | |
Get-OrganizationConfig | fl OAuth2ClientProfileEnabled | |
<実行結果例> | |
OAuth2ClientProfileEnabled : False | |
【先進認証を有効にする】 | |
Set-OrganizationConfig -OAuth2ClientProfileEnabled $true |
View ドライブ文字の非表示:削除
diskpart | |
DISKPART> | |
DISKPART>list volume | |
Volume ### Ltr Label Fs Type Size Status Info | |
---------- --- ----------- ---- ---------- ------- --------- -------- | |
Volume 0 C OS NTFS Partition 236 GB 正常 ブート | |
Volume 1 WINRETOOLS NTFS Partition 990 MB 正常 | |
Volume 2 ESP FAT32 Partition 550 MB 正常 システム | |
Volume 3 E NTFS Partition 457 MB 正常 | |
DISKPART>select volume 3 |
NewerOlder