PowerShell

Switch Open Data .ch and .li Domains

Andres Bohren
Hi All, Switch the Swiss Registrar for .ch and .li Domains has published the Domains on a Open Data Policy. You can download the top 1'000 Domains or use a Zone Transfer Switch Open Data https://www.switch.ch/open-data/#tab-c5442a19-67cf-11e8-9cf6-5254009dc73c-3 You need to create the TSIG Key # filename ch_zonedata.keykey tsig-zonedata-ch-public-21-01 { algorithm hmac-sha512; secret "stZwEGApYumtXkh73qMLPqfbIDozWKZLkqRvcjKSpRnsor6A6MxixRL6C2HeSVBQNfMW4wer+qjS0ZSfiWiJ3Q=="; }; then use dig to initiate the Zone Transfer dig -k ch_zonedata.key @zonedata.switch.ch +noall +answer +noidnout +onesoa AXFR ch.

Microsoft.Graph PowerShell Module 1.11.1 released

Andres Bohren
Hi All, Yesterday, Microsoft has released a new Version of theyr PowerShell Modules for Microsoft.Graph PowerShell Gallery Microsoft.Graph https://www.powershellgallery.com/packages/Microsoft.Graph/1.11.1 Releases https://github.com/microsoftgraph/msgraph-sdk-powershell/releases Let's check the installed Version and what's available on the PowerShell Gallery Get-InstalledModule Microsoft.Graph Find-Module Microsoft.Graph To install the newest Version of the PowerShell Modules and also uninstalling the old Versions, you can use my GitHub Script #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/ExchangeOnline/GraphAPI/Cleanup-GraphModules.ps1" Invoke-Expression $($ScriptFromGitHub.Content) Let's check

PowerShell v7.2.6 released

Andres Bohren
Hi All, This Morning i have seen, that the PowerShell 7 has a new Update. Seems that it has been released yesterday. GitHub PowerShell https://github.com/PowerShell/PowerShell v7.2.6 Release of PowerShell https://github.com/PowerShell/PowerShell/releases/tag/v7.2.6 Regards Andres Bohren

PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.22713.12000 released

Andres Bohren
Hi All, A few Hours ago, Microsoft has released a new Version of the Microsoft.Online.SharePoint.PowerShell PowerShell Module Microsoft.Online.SharePoint.PowerShell 16.0.22713.12000 https://www.powershellgallery.com/packages/Microsoft.Online.SharePoint.PowerShell/16.0.22713.12000 Check the installed Version and what is available on PowerShell Gallery Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Find-Module Microsoft.Online.SharePoint.PowerShell Uninstall the old PowerShell Module and install the new one Uninstall-Module Microsoft.Online.SharePoint.PowerShell Install-Module Microsoft.Online.SharePoint.PowerShell Get-InstalledModule Microsoft.Online.SharePoint.PowerShell Connect to Sharepoint Online Connect-SPOService -Url https://icewolfch-admin.sharepoint.com List the SharePoint Online tenant settings Get-SPOTenant | fl Regards Andres Bohren

Microsoft.Graph PowerShell Module 1.11.0 released

Andres Bohren
Hi All, Yesterday Microsoft has released the Version 1.11.0 of the Microsoft.Graph PowerShell Module. Microsoft.Graph 1.11.0 https://www.powershellgallery.com/packages/Microsoft.Graph/1.11.0 Release Notes https://github.com/microsoftgraph/msgraph-sdk-powershell/releases Check the installed Version and what is availabe on PowerShell Gallery Get-InstalledModule Microsoft.Graph Find-Module Microsoft.Graph To install the newest Version of the PowerShell Modules and also uninstalling the old Versions, you can use my GitHub Script #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/ExchangeOnline/GraphAPI/Cleanup-GraphModules.ps1" Invoke-Expression $($ScriptFromGitHub.Content) It takes a while until everything is done.

Azure PowerShell Module Az 8.2.0 released

Andres Bohren
Hi All, Yesterday Microsoft has released the Azure PowerShell Module AZ v8.2.0 Az 8.2.0 https://www.powershellgallery.com/packages/AZ/8.2.0 Check your current installed Module and what is available on PowerShell Gallery Get-InstalledModule AZ Find-Module AZ I've published a Script in my GitHub Repo to uninstall the old Modules and install the new Modules https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/AzureAD/Microsoft.Graph_HowToStart.ps1 Or you can run the Script below to directly execute that Script #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "

MSIdentityTools PowerShell Module v2.0.17 released

Andres Bohren
Hi All, Yesterday, Microsoft has released a new Version of theyr MSIdentityTools PowerShell Module. MSIdentityTools 2.0.17 https://www.powershellgallery.com/packages/MSIdentityTools/2.0.17 Check installed PowerShell Module Version and what is available in the PowerShell Gallery (Needs to run "As Administrator") Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall the old PowerShell Module and install the new one Uninstall-Module MSIdentityTools Install-Module MSIdentityTools Get-InstalledModule MSIdentityTools List Commands of the Module Get-Command -Module MSIdentityTools Let's try out the following Command "Get-MsIdServicePrincipalIdByAppId" Connect-MgGraph -Scopes Application.

MSIdentityTools PowerShell Module v2.0.15 released

Andres Bohren
Hi All, Yesterday Microsoft has released a new Version of the MSIdentityTools PowerShell Module. MSIdentityTools 2.0.15 https://www.powershellgallery.com/packages/msidentityTools/2.0.15 Check the Installed Version and what is available in the PowerShell Gallery Get-InstalledModule MSIdentityTools Find-Module MSIdentityTools Uninstall the old Version of the Module and install the new Version of the Module Uninstall-Module MSIdentityTools Install-Module MSIdentityTools Get-InstalledModule MSIdentityTools List the Commands of the Module Get-Command -Module MSIdentityTools Seeing this i experimented with the Get-MsIdO365Endpoints Command to get the List of the Exchange Online IPs

Report Teams Channels Emailaddresses with PowerShell

Andres Bohren
Hi All, A Teams Channel does not have an Emailaddress until you click on "Get Emailaddress" Note that this Emailaddress is the following Format <ID>.<tenant>.onmicrosoft.com@>region>.teams.ms You can also delete the Emailaddress from here. Note: If you remove and add a new Address it will get another ID You have to confirm the removal of the Teams Channel Emailaddress Can you read out the same with the MicrosoftTeams PowerShell. You can get the Channels but not the Emailaddress

Azure PowerShell Module Az 8.1.0 released

Andres Bohren
Hi All, A few Hours ago, Microsoft has released the Azure PowerShell Module AZ v8.1.0 Az 8.1.0 https://www.powershellgallery.com/packages/Az/8.1.0 Azure PowerShell release notes https://docs.microsoft.com/en-us/powershell/azure/release-notes-azureps?view=azps-8.1.0 Check your current installed Module and what is available on PowerShell Gallery Get-InstalledModule AZ Find-Module AZ I've published a Script in my GitHub Repo to uninstall the old Modules and install the new Modules https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/AzureAD/Microsoft.Graph_HowToStart.ps1 Or you can run the Script below to directly execute that Script