Module: AzureAD
Angry Admin
System Administrator's Notepad
Wednesday, September 20, 2023
Get extension properties synced from on-premises to Azure AD
Wednesday, September 21, 2022
Database availability group server cannot be removed from database
I was decommissioning the old Exchange 2013 environment with Database Availability Group.
I got an error when removing the Exchange servers from the DAG:
Error:
“Database availability group server EXCHANGESERVER cannot be removed from database availability group DAG since it is currently set for datacenter activation mode and it requires at least two mailbox servers.”
Tuesday, September 20, 2022
Помилка при видаленні Exchange сервера з Database Availability Group
Виводив з експлуатації старе середовище Exchange 2013 з багатьма Database Availability Group.
Отримав повідомлення про помилку під час видалення Exchange серверів з DAG:
Error: “Database availability group server EXCHANGESERVER cannot be removed from database availability group DAG since it is currently set for datacenter activation mode and it requires at least two mailbox servers.”
Я спробував ще раз у PowerShell
[PS]Remove-DatabaseAvailabilityGroupServer -Identity <DAGName>
-MailboxServer <ExchangeServer>
Friday, July 29, 2022
Sunday, April 3, 2022
Basic PowerShell Commands
Get Execution Policy
Get-ExecutionPolicy
Set Execution Policy to Unrestricted
Set-ExecutionPolicy Unrestricted
Show PowerShell Version
$PSVersionTable
Get help for a command
Use this to get the help information for a commandGet-Help <cmdlet-name>
Search Get Help
Use this to search the help files. This is useful if you don’t know the command or want to see if one exists.
Get-Help *keyword*
Use this command to display all the installed modules on a computer
Get-InstalledModule
List All Available Modules
This will list all available modules on the computer.
Get-Module -ListAvailable
Get Installed Modules
Use this command to display all the installed modules on a computer
Get-Module -ListAvailable
Display available commands
This will display all commands that are available based on the modules that are loaded.
Get-Command
Subscribe to:
Posts (Atom)