It is not hard. After you have created the shared mailbox, its email address will appear in the Office 365 console. We’ll call it “abcdefg@domain.com”.
- Connect PowerShell to Exchange Online.
- Turn publishing on for the calendar.
Set-MailboxCalendarFolder -Identity abcdefg@domain.com:\calendar -PublishEnabled $true
- Get the URL. The following code will request all of the calendar setup parameters, including both an HTML URL for general web browsers and an ICS URL for many applications.
Get-MailboxCalendarFolder -Identity abcdefg@domain.com:\calendar
- If you test the HTML URL now, you will see no details. Do this to put all of the details in:
Set-MailboxCalendarFolder -Identity abcdefg@domain.com:\calendar -DetailLevel FullDetails
Categories:
Exchange and Exchange Online
Categories:
ESET Antivirus
Categories:
Windows Installer, Updates, Patching
When certain antivirus products go a bit haywire, or other unfortunate things happen, hundreds of thousands of small files can pile up in either the location in the title of this article, or here:
C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
The location in the title seems to be more common in Windows 10, the other more for Windows 7, but check both, and if you have a pileup in either, run this CMD command inside:
forfiles /D -10 /C "cmd /C attrib -s @file & echo @file & del @file"
forfiles
is a very nice command that iterates through the files in a folder according to its parameters. /D -10
iterates through all files more than 10 days old. attrib -s
takes off the System attribute, which is needed for DEL
(delete) to work. The echo
is there so you can see that it is doing its job.
Categories:
Command Line
Windows OS-Level Issues
We can do this:
powershell "& {set-netfirewallprofile -profile domain,public,private -enabled 1}" -command
Anything placed after -command
is treated as an argument.
Categories:
Command Line
An elegant solution from here:
https://social.technet.microsoft.com/Forums/systemcenter/en-US/e266d1eb-81ca-4084-8b3b-70f7c6904047/problem-with-inetresadmx?forum=winserverGP
Just go here:
https://www.microsoft.com/en-us/download/details.aspx?id=6243
and download the current versions of all of the templates (the above is for 2008R2, here’s to hoping Microsoft makes them available for all server versions), and replace them.
Categories:
Servers
Windows OS-Level Issues
To unlock files easily, use the “Unlocker Assistant”:
http://www.emptyloop.com/unlocker/
There is a portable version and an installable too. This tool makes it very easy to identify which process is locking a given file, and it can attempt to kill the process, or just undo the lock.
There is also “EMCO Unlock IT” which does extremely well:
https://emcosoftware.com/unlock-it
Categories:
Tools
Categories:
Antivirus/Antimalware Tools and Issues
Networking Analysis, Ports, & Protocols
Here’s the command:
wmic useraccount where name='olduser' rename newuser
“olduser” is the old username, “newuser” is the new.
Categories:
Windows OS-Level Issues
Here’s a regedit to disable:
Reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
and here’s an msiexec remover, quiet; not sure if this still works:
msiexec /uninstall windowsdefender.msi /quiet /log uninstall.log
Categories:
Windows OS-Level Issues