Thursday, June 23, 2022
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
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
Hi all,
A few Hours ago the PowerShell Module for the M365 Whiteboard has been released.
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
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