blog.icewolf.ch

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

My Links

Archives

Post Categories

icewolf

Thursday, June 23, 2022

PowerShell v7.2.5 released

Hi All,

A few days ago, Microsoft has Released PowerShell v7.2.5

Download

PowerShell 7 Release Notes




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.



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


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.9.0 PowerShell Module released

Hi all,

A few Hours ago the PowerShell Module for the M365 Whiteboard has been released.
I guess it fixes some errors, as WhiteboardAdmin 1.8.0 was released only two weeks ago.
But i could not find any Release notes or so.

WhiteboardAdmin 1.9.0

Get-InstalledModule WhiteboardAdmin
Find-Module WhiteboardAdmin
Uninstall-Module WhiteboardAdmin
Install-Module WhiteboardAdmin



Get-Command -Module WhiteboardAdmin



Regards
Andres Bohren


posted @ Thursday, June 23, 2022 8:18 AM | Filed Under [ Microsoft365 ]

Exchange Cumulative Update Error Expired Certificate

Good Morning,

I've had a customer that encountered the Error below during Exchange 2016 CU23 installation.

Error:
The following error was generated when "$error.Clear();
Install-ExchangeCertificate -services IIS -DomainController $RoleDomainController
if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true)
{
Install-AuthCertificate -DomainController $RoleDomainController
}
" was run: "System.Security.Cryptography.CryptographicException: The certificate is expired.
at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
at Microsoft.Exchange.Management.SystemConfigurationTasks.InstallExchangeCertificate.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".



It was obvious that a Certificate had expired.

We've recreated a new CSR with FQDN and Hostname and installed the Certificate on the Server. Still the Setup failed at the exact same point.

The Solution was to delete the expired Certificate from the Local Machine Certificate Store and start the Setup again.



After that, the Setup finished successful.
Check the Exchange Certificate after the Installation

Get-ExchangeCertificate
Enable-ExchangeCertificate -Thumbprint <Thumbprint> -Services IIS,POP,IMAP,SMTP

Regards
Andres Bohren


posted @ Thursday, June 23, 2022 7:40 AM | Filed Under [ Exchange ]

Powered by:
Powered By Subtext Powered By ASP.NET