It took me enough google searches to figure this out that I decided to post it here. The issues seemed to be around the 'space' in the folder name.
Change directories to \Program Files\Exchange Server\Scripts
To add a user to a public folder and all subfolders in powershell use-
\AddUsersToPFRecursive.ps1 -Server "ExchangeServer" -TopPublicFolder "\Sales Folder" -User "JSmith" -Permissions
PublishingEditor
You can also do this if you want to add them to ALL public folders.
\AddUsersToPFRecursive.ps1 -Server "ExchangeServer" -TopPublicFolder "\" -User "JSmith" -Permissions
PublishingEditor
To REPLACE their permissions (say they have read access but you want them to have publishing editor), do this-
.\ReplaceUserPermissionOnPFRecursive.ps1 -Server "ExchangeServer" -TopPublicFolder "'\Sales Folder'" -User "JSmith" -Permissions PublishingEditor
Note- the folder is in both quote (") and with a tick (') around it. It doesn't work with just quotes.
Thursday, July 16, 2015
Thursday, June 11, 2015
Removing duplicate lines in Notepad++
Often times I cut / paste between systems and end up with duplicate lines in Notepad++. Googling finds a lot of solutions that don't work. Here's all you need to do-
Hit <Ctrl> <H> to get to the replace box (or go to the Search menu and click Replace.)
In "Find What", put \r\n\r\n
In "Replace", put \r\n
Under Search Mode, check "Extended".
Click "Replace All".
Hit <Ctrl> <H> to get to the replace box (or go to the Search menu and click Replace.)
In "Find What", put \r\n\r\n
In "Replace", put \r\n
Under Search Mode, check "Extended".
Click "Replace All".
Wednesday, March 11, 2015
How to convert a Unix TXT file to Windows in Notepad++ (removing extra line spaces).
Hit <Ctrl> <H>
Select "Extended" under search mode.
In Find What, put "\r\n\r\n"
In Replace With, put "\r\n"
Select "Replace All"
Select "Extended" under search mode.
In Find What, put "\r\n\r\n"
In Replace With, put "\r\n"
Select "Replace All"
Friday, March 6, 2015
Easily determine what is running at startup, administer services, etc.
Autoruns is a great systinternals utility that allows you to easily administer the startup of any Windows OS.
https://technet.microsoft.com/en-us/sysinternals/bb963902.aspx
https://technet.microsoft.com/en-us/sysinternals/bb963902.aspx
Wednesday, March 4, 2015
You can't get into Cisco ASDM and get "Unable to launch the application" from Java. Here are ALL possible ways to resolve this-
You can't get into Cisco ASDM and get "Unable to launch the application" from Java. Here are ALL possible ways to resolve this-
1) Make sure you are on the latest ASDM (7.x). You don't need to upgrade the OS to run the latest ASDM.
2) Go to control panel, java, click on the security tab, click edit site list, and add the URL to your Firewall. Make sure you include "https://"
3) If that doesn't resolve it, make sure 3des is enabled in "show version" on the ASA.
4) If it is, issue these commands-
ssl server-version any
ssl client-version any
ssl encryption rc4-md5 rc4-sha1 aes128-sha1 aes256-sha1 3des-sha1
ssl certificate-authentication fca-timeout 2
5) If that doesn't work, issue these. Use your own username and password.
aaa authentication http console LOCAL
username cisco password cisco
1) Make sure you are on the latest ASDM (7.x). You don't need to upgrade the OS to run the latest ASDM.
2) Go to control panel, java, click on the security tab, click edit site list, and add the URL to your Firewall. Make sure you include "https://"
3) If that doesn't resolve it, make sure 3des is enabled in "show version" on the ASA.
4) If it is, issue these commands-
ssl server-version any
ssl client-version any
ssl encryption rc4-md5 rc4-sha1 aes128-sha1 aes256-sha1 3des-sha1
ssl certificate-authentication fca-timeout 2
5) If that doesn't work, issue these. Use your own username and password.
aaa authentication http console LOCAL
username cisco password cisco
Monday, March 2, 2015
How to enable (install) telnet from the command line.
Are you ever in a remote command line session and you need to telnet into something, but you find telnet is not
installed? Simply issue this command to
install telnet.
dism /online /Enable-Feature /FeatureName:TelnetClient
Thursday, February 26, 2015
Decrypt CryptoLocker for FREE!!!
Ever want to DECRYPT CRYPTOLOCKER files for FREE? :)
Yes, that’s right. The encryption
keys for Cryptolocker are now freely available.
Simply go to the site https://www.decryptcryptolocker.com This site will allow you to upload one of your files encrypted by Cryptolocker and will then attempt to decrypt your file by utilizing all of the private decryption keys available. If they are successful, they will email you the key along with information on how to decrypt all of your files.
Subscribe to:
Posts (Atom)