Azure The HTML
https://docs.microsoft.com/en-us/azure/active-directory/devices/troubleshoot-hybrid-join-windows-current
Retrieve the join status dsregcmd /status
Enable-PSRemoting
New-PSSession -ComputerName localhost
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.1
Enter-PSSession -ComputerName AD1 -Credential Domain\administrator
Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Delta
Sync Account changes in Active Directory with Azure AD :
Start-ADSyncSyncCycle -PolicyType Delta
sync up with your Microsoft 365 tenancy.instead of the usual once every 30 minutes delay.
Get-ADSyncScheduler
Install the AzureAD Sync module: Import-Module ADSync
Review the current intervals AzureAD Connect uses to sync: Get-ADSyncScheduler
Initialize the AzureAD Sync immediately: Start-ADSyncSyncCycle -PolicyType Delta
For a Full Sync (only necessary in some situations): Start-ADSyncSyncCycle -PolicyType Initial
Unable to connect to the Synchronization Service : make sure your account is a member of the local ADSyncAdmins group
Install-Module MSOnline
Import-Module MSOnline
Install-Module AzureAD
Import-Module AzureAD
Connect-AzureAD
Get-Module PowerShellGet -list | Select-Object Name,Version,Path
Install-Module AzureRM
login-azurermaccount
Enable-PSRemoting
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.1
Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Delta
Install-module -name MSOnline
Get-Module -ListAvailable
Install-Module -Name AzureAD
###Connect to Office 365 with PowerShell###
Connect-MsolService
Get-MsolCompanyInformation
Connect-AzureAD
Get-Command -Module AzureAD
####Connect to Exchange Online PowerShell using modern authentication with or without MFA#####
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName navin@contoso.com
inetmgr
Get-IISAppPool
Get-IISSite
Get-IISSiteBinding
--------------------------------------------
Get-EventLog -LogName Application -Source *W3SVC* -Newest 10
--------------------------------------------
Get-EventLog -LogName System -Source WAS -Newest 10
--------------------------------------------
Get-EventLog -LogName System -Source WAS -Newest 10 -EntryType Warning,Error
--------------------------------------------
Get-EventLog -LogName System -Source WAS -Newest 10 | Format-List > C:\temp.txt
--------------------------------------------
Get-EventLog -LogName System -Source WAS -Newest 10 | Format-List | Tee-Object -FilePath C:\temp.txt
--------------------------------------------
Start-service -servicename w3svc
C:\Windows\System32\inetsrv>appcmd list requests
appcmd list requests /elapsed:10000
AppCmd /?
AppCmd site /?
AppCmd config /?
AppCmd list apppool /?
tag defines a clickable button.
|
|