Posts

Showing posts from 2020

Microsoft Lingering Object Liquidator (LoL) "Failed to create event log subscription to target DC".

I am trying to run the Lignering Object Liquidator (LoL) on my Domain Controllers. But some DC's are Server Core and don't have .Net installed. So I have to run it on a DC with a GUI and connect to the DC with server core. But then I found this error message:  "Failed to create event log subscription to target DC". win rmquickonfig reports WinRM is already set up for remote management on this computer. So I tried turning off the firewall altogether:- Set-NetFirewallProfile -Profile Domain,Public,Private - Enabled True And run the LOL again.  That worked! Of course don't forget to turn the firewall back on again immediately afterwards.

Azure Windows Server: the Serial console (SAC) - changing IP address

 If you have a server running in Azure you cant log into anymore. You can use the Serial Console to get into the server. But there are not many commands, espeically if you can't log into a command prompt. I wanted to set the network adapter, as it had lost the Gateway. Here is the command to see the network adapters config: SAC>i Net: 4, Ip=172.22.10.9  Subnet=255.255.255.0  Gateway=0.0.0.0 As you can see, the Gateway has been set to 0.0.0.0 To set a new Gateway, issue the command: i 4 172.22.10.9 255.255.255.0 172.22.10.1 Where the number 4 is the identified for the network adapter. Now I can ping my VM again!

Updates may be available for your Azure AD trust. Update your trust now to ensure you have the latest recommended settings.

Updates may be available for your Azure AD trust.  Update your trust now to ensure you have the latest recommended settings. Don't Panic!

This Powsershell will set every OneDrive for Business quota to the minimum set below

# This Powsershell will set every OneDrive for Business quota to the minimum set below. # Quota's that are above the minimum are not changed. # Richard Artes January 2010 # # Set the location of the Log file here:  $LogFile = "c:\temp\quotaSetMinList.txt" # Set the new minimum GB quota here:  $minQuota = 100  $newQuotaMB= $minQuota * 1024 #Your Sharepoint/OneDrive URL goes here:  Connect-SPOService -Url "https://xxxxxxxxxxxxxxxxxxxxx.sharepoint.com/"  $oneDriveSites = Get-SPOSite -IncludePersonalSite $true -Limit all -Filter "Url -like '-my.sharepoint.com/personal/'"  $oneDriveSites | ForEach-Object {  $site = $_  $strUserDetails = Get-SPOSite –Identity $site  # If you want to see what every site's quota is before changes, uncomment this:  #Out-File -FilePath $LogFile -InputObject $strUserDetails -Encoding UTF8 -append $QuotaGB = ($strUserDetails.StorageQuota / 1024) If($QuotaGB -lt $minQuota) { Out-File -Fi