In preservation of my privacy I wanted to be able to create a hidden folder in my outlook client so that my co-workers can't go through my private/confidential e-mails.
So far I managed to create the file itself, but I was wondering if it is possible to make it "invisible", if so, how?
here's my code so far:
$ol = New-Object -ComObject Outlook.Application
$ns = $ol.GetNamespace("MAPI")
$in = $ns.GetDefaultFolder([Microsof.Office.Interop.Outlook.OlDefaultFolders]::olFolderInbox)
$nf = $in.Folders.Add("HideMe")
thank you ;)