こちらに対応すべくメモjpazureid.github.io $credential = Get-Credential Import-Module ExchangeOnlineManagement Connect-MgGraph -Scopes "Organization.Read.All","User.ReadWrite.All" Import-Module Microsoft.Graph.Users Connect-ExchangeOnline -…
Import-Csv "C:\Users\***\Downloads\exportUser_2022-6-14.csv" | foreach{Set-MailUser $_.userPrincipalName -HiddenFromAddressListsEnabled $false}※Default:True
$WshShell = New-Object -comObject WScript.Shell $DesktopPath = [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::Desktop) $Shortcut = $WshShell.CreateShortcut("$DesktopPath\ポータル サイト を入手 - Microsoft Store ja-…
連絡先編集のメモ 記載がないAll Groupsグループ(チーム)一覧 ((Alias -ne `$null) -and (RecipientTypeDetailsValue -eq 'GroupMailbox'))記載がないOffline Global Address Listオフライン グローバル アドレス一覧 ((Alias -ne `$null) -and (((((((((((O…
ユーザー追加をする時の個人的メモ $UserCredential = Get-Credential Connect-MsolService -Credential $UserCredential Connect-AzureAD -Credential $UserCredential Connect-ExchangeOnline -Credential $UserCredential Get-MsolAccountSku $disabledpl…
Dim wslist As Worksheet Dim result, s, e, time, i As Long Dim attached1 As String Dim outlookObj As Outlook.Application Dim mailItemObj As Outlook.mailItem Dim myattachments As Outlook.Attachments Private Declare PtrSafe Sub Sleep Lib "ker…
カスタムドメインを取得してExchangeOnlineを運用する際のTips カスタム ドメインで DKIM をメールに使用する方法 - Office 365 | Microsoft Docs 公式の翻訳 New-DkimSigningConfig -DomainName <domain> -Enabled $false #① Get-DkimSigningConfig -Identity <domain> | Fo</domain></domain>…
とりあえず上司(マネージャー)の一覧を取得したい $list = @() $Users =Get-AzureADUser -All $true foreach( $User in $Users){ $Manager =Get-AzureADUserManager -ObjectId $User.ObjectID $list += [pscustomobject]@{User=$User.UserPrincipalName Ma…
とりあえずTeamsに外部組織のユーザーをゲスト登録したい New-AzureADMSInvitation -InvitedUserDisplayName "<表示名>" -InvitedUserEmailAddress <UPN> -InviteRedirectURL "<チームへのリンクを取得>" -SendInvitationMessage $true Add-TeamUser -GroupId <グ</upn>…
社員の予定表の共有とアクセス許可を変更したい 既定だと「自分の予定が入っている時間~」=”予定あり”表示で意味が分からないので一括で「タイトルと場所を閲覧可能」に変更 Set-MailboxFolderPermission -Identity "<UPN>:\予定表" -User "既定" -AccessRights</upn>…
Viva コネクション概要 techcommunity.microsoft.com Viva コネクション準備 docs.microsoft.com#とりあえずルートサイトをホームサイトして登録 Set-SPOHomeSite -HomeSiteUrl https://☓☓☓.sharepoint.com
Microsoft 365 グループを作るとグループアドレスが量産されていくので非表示 #基本のコマンドレット Set-UnifiedGroup -Identity <DisplayName> -HiddenFromAddressListsEnabled $true#まとめて実行 Get-UnifiedGroup | Select-Object DisplayName,PrimarySmtpAddress | </displayname>…
#Teams $UserCredential = Get-Credential Import-Module MicrosoftTeams Connect-MicrosoftTeams -Credential $UserCredential #SharePoint接続 $UserCredential = Get-Credential Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameCheck…