This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
コマンド) | |
Get-RecipientPermission -Identity "<該当グループのメール アドレス>" | Select Identity,Trustee,AccessRights | |
例) | |
Get-RecipientPermission -Identity "MLGroup@contoso.com" | Select Identity,Trustee,AccessRights |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
コマンド) | |
Add-RecipientPermission -Identity <該当グループのメール アドレス> -AccessRights SendAs -Trustee <権限を付与するユーザーのメール アドレス> -Confirm: $False | |
例) | |
Add-RecipientPermission -Identity MLGroup@domain.com -AccessRights SendAs -Trustee UserAcount@domain.com -Confirm:$False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<実行するコマンド> | |
Import-Module AzureADPreview; | |
Connect-AzureAD; | |
$template = Get-AzureADDirectorySettingTemplate -Id 62375ab9-6b52-47ed-826b-58e47e0e304b; | |
$setting = $template.CreateDirectorySetting(); | |
$setting["EnableGroupCreation"] = $false; New-AzureADDirectorySetting -DirectorySetting $setting; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Get-AzureADDirectorySetting).Values | |
<出力例> | |
Name Value | |
---- ----- | |
CustomBlockedWordsList | |
EnableMSStandardBlockedWords False | |
ClassificationDescriptions | |
DefaultClassification | |
PrefixSuffixNamingRequirement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Azure AD に接続 | |
Import-Module AzureADPreview | |
Connect-AzureAD | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
◆ Skype for Business Online の先進認証について | |
【先進認証の設定状況を確認するコマンド】 | |
<コマンド> | |
Get-CsOAuthConfiguration | fl ClientAdalAuthOverride | |
<実行結果例> | |
ClientAdalAuthOverride : Disallowed | |
<説明> | |
Skype for Business Online 側の先進認証が有効である場合には Allowed、無効である場合には Disallowed が返されます。 | |
【先進認証を有効にする】 | |
<コマンド> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
◆ Exchange Online の先進認証について | |
【先進認証の設定状況を確認するコマンド】 | |
Get-OrganizationConfig | fl OAuth2ClientProfileEnabled | |
<実行結果例> | |
OAuth2ClientProfileEnabled : False | |
【先進認証を有効にする】 | |
Set-OrganizationConfig -OAuth2ClientProfileEnabled $true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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