blog.icewolf.ch

Let's talk about IT!
posts - 2080, comments - 295, trackbacks - 0

My Links

Archives

Post Categories

icewolf

PowerShell

Scripting - the new way
Microsoft Teams Voicemail Settings for Users and Admins

Hi All, There are some News in Microsoft Teams regarding Voicemail. In Teams Admin Center you can set the Call answering Rules That's also possible with the get/set-CsUserCallingSettings Get-CsUserCallingSettings -Identity a.bohren@icewolf.ch The User can control these Settings in the Teams Client under Settings > Calls If the user clicks on "Voicemail" another Screen appears with some settings There is a new Website, where the user can control these Settings. By the way do you spot the diffrence of the Language for Greeting in Teams Client. It's diffrent than in TAG or the Voicemail Settings below. https://dialin.teams.microsoft.com/usp/voicemail An Admin can find these Settings in the Teams Admin Center (TAC) under...

posted @ Saturday, June 25, 2022 2:14 PM | Filed Under [ PowerShell MicrosoftTeams ]

PowerShell v7.2.5 released

Hi All, A few days ago, Microsoft has Released PowerShell v7.2.5 Download https://github.com/PowerShell/PowerShell PowerShell 7 Release Notes https://github.com/PowerShell/powershell/releases I always activate "Enable PowerShell remoting" Get-Host Regards Andres Bohren

posted @ Thursday, June 23, 2022 9:12 PM | Filed Under [ PowerShell ]

Microsoft.Graph PowerShell Module 1.10.0 released

Hi All, A few hours ago, Microsoft has released a new Version of the Microsoft.Graph PowerShell Modules. Microsoft.Graph 1.10.0 https://www.powershellgallery.com/packages/Microsoft.Graph/1.10.0 1.10.0 Release Notes https://github.com/microsoftgraph/msgraph-sdk-powershell/releases Check the installed Version and what's on the PowerShell Gallery Get-InstalledModule Microsoft.Graph Find-Module Microsoft.Graph But remember, it's not one Module, it is a collection of Modules Get-InstalledModule Microsoft.Graph* I've published a PowerShell Script on my GitHub Account that uninstalls the old Modules and installs the newest one CleanupGraphModules https://github.com/BohrenAn/GitHub_PowerShellScripts/blob/main/ExchangeOnline/GraphAPI/CleanupGraphModules.ps1 You can run that directly in PowerShell with the Code below #Run Script directly from GitHub $ScriptFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/ExchangeOnline/GraphAPI/CleanupGraphModules.ps1" Invoke-Expression $($ScriptFromGitHub.Content) Check if everything worked Get-InstalledModule Microsoft.Graph* Regards Andres Bohren

posted @ Thursday, June 23, 2022 9:03 AM | Filed Under [ PowerShell Microsoft365 ]

WhiteboardAdmin 1.8.0 PowerShell Module released

Hi All, Yesterday the PowerShell Module WhiteboardAdmin has been released in Version 1.8.0. To install use the commandlets below. Remember the PowerShell has to be startet "As Administrator" to uninstall/install PowerShell Modules. Get-InstalledModule WhiteboardAdmin Find-Module WhiteboardAdmin Uninstall-Module WhiteboardAdmin Install-Module WhiteboardAdmin To get the Whiteboards of a user you must use TenantAdmin Credentials Get-Whiteboard -UserId <ObjectIDofUser> Get-Whiteboard -UserId 6db8cdd5-8e93-462d-9907-994406c07f60 That's what the Result looks like Regards Andres Bohren

posted @ Thursday, June 9, 2022 7:36 AM | Filed Under [ PowerShell Microsoft365 ]

Calendar Availability (Free/Busy) Requests with Microsoft Graph

Hi All, I recently had a customer that wanted to write an Application to read the Availability (Free/Busy) from the Calendars of theyr users.Here is how you can do that with Microsoft Graph. First you need an Application in Azure Active Directory with an AppID / ClientID Then you need to be able to Authenticate. I usually use a Certificate for that purpose. As for the Permissions, the Application needs the following: App needs Application Permissions: - Calendars.Read (Only for the Mailbox where you make the Requests from - Limit with ApplicationAccessPolicy) - Schedule.Read.All Now we need to Limit the Calendars.Read to the Mailbox where the Availability Requests...

posted @ Monday, June 6, 2022 8:47 AM | Filed Under [ Exchange PowerShell ]

MicrosoftTeams PowerShell Module 4.4.1 released as GA

Hi All, A few hours ago Microsoft has released the MicrosoftTeams PowerShell Module 4.4.1 to GA. MicrosoftTeams 4.4.1 https://www.powershellgallery.com/packages/MicrosoftTeams/4.4.1 With the Commands below you can search and install the Module from the PowerShell Gallery. I used the -Force Parameter to have diffrent Modules installed side-by-side. Find-Module MicrosoftTeams Install-Module MicrosoftTeams -Force Connect-MicrosoftTeams Get-Module The usual Testing Get-Team Get-CsOnlineUser -Identity a.bohren@icewolf.ch | fl *Ent*,*host*,*voice*, *line* Regards Andres Bohren

posted @ Wednesday, June 1, 2022 12:03 AM | Filed Under [ PowerShell MicrosoftTeams ]

Recipient Management without Exchange Server behind the Scenes

Hi All, I was digging a little bit deeper into the Recipient Management without Exchange Server. I've already blogged about it how to install the Managment Tools only fo install the Recipient Management PowerShell Install and use Exchange 2019 CU12 Recipient Management PowerShell https://blog.icewolf.ch/archive/2022/04/27/install-and-use-exchange-2019-cu12-recipient-management-powershell.aspx Add-PSSnapin *RecipientManagement Get-PSSnapin As you can see on the Server the Exchange Server 2019 CU12 is installed (Management Tools only) I found the References of the PowerShell Snapins in the Registry here: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapins I had a look at the DLL "Microsoft.Exchange.PowerShell.Configuration.dll" with ILSpy. As you can see there are many dependencys to other DLL's in the C:\Program Files\Microsoft\Exchange Server\V15\Bin Directory Then i have installed the Security Update...

posted @ Tuesday, May 31, 2022 10:41 AM | Filed Under [ Exchange PowerShell ]

PowerShell 7 and PnP.PowerShell on Linux

Hi All, Recently i had a customer who wanted to upload a File on SharePoint. I've done something similar with PowerShell on Windows and Azure Automation. Upload file to SharePoint Online with PnP.PowerShell https://blog.icewolf.ch/archive/2022/01/23/upload-file-to-sharepoint-online-with-pnp-powershell.aspx Install PowerShell on Linux https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.2 As i have a CentOS8 available i did test that. There is a specific Docs from Microsoft that explains how to Install PowerShell on CentOS Installing PowerShell on CentOS https://docs.microsoft.com/en-us/powershell/scripting/install/install-centos?view=powershell-7.2 cat /etc/centos-release rpm -i https://github.com/PowerShell/PowerShell/releases/download/v7.2.4/powershell-lts-7.2.4-1.rh.x86_64.rpm pwsh -v Great PowerShell 7 is installed. Now we need to install the PnP.PowerShell pwsh Find-Module PnP.PowerShell Install-Module PnP.PowerShell I've created the Script and only changed the Path from the CSV. Upload is sucessfull and the File on Sharepoint has really changed. ./test.ps1 Regards Andres Bohren

posted @ Wednesday, May 25, 2022 1:25 PM | Filed Under [ PowerShell Linux ]

Exchange Online Mail flow Alert policies

Hi All, Maybe you have noticed the new Mail flow Alert policies in Exchange Admin Center. You can define new Alert policies, define the Severity, the Insight, the recipient, the Notification Limit and sometimes also the Threshold for the Alert. For me it's a little bit odd to send an Email in case something does not work well with the Mailflow. It could be that you get the Email very late or even when the issue is already resolved. As far as i know there is still no dedicated API to get to Informations like these... Let me know if i am wrong. Alert policies...

posted @ Tuesday, May 24, 2022 4:53 PM | Filed Under [ Exchange PowerShell System Management ]

Azure PowerShell Module Az 8.0.0 released

Hi All, A few Hours ago, Microsoft has released the Azure PowerShell Module AZ v8.0.0 Microsoft Azure PowerShell AZ 8.0.0 https://www.powershellgallery.com/packages/AZ/8.0.0 Release Notes not yet udated https://docs.microsoft.com/en-us/powershell/azure/release-notes-azureps?view=azps-7.5.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 "https://raw.githubusercontent.com/BohrenAn/GitHub_PowerShellScripts/main/Azure/Cleanup-AZModules.ps1" Invoke-Expression $($ScriptFromGitHub.Content) Check the Modules Get-InstalledModule AZ Get-InstalledModule AZ.* Regards Andres Bohren

posted @ Tuesday, May 24, 2022 11:51 AM | Filed Under [ PowerShell Azure ]

Full PowerShell Archive

Powered by:
Powered By Subtext Powered By ASP.NET