Month: April 2014

Find email listed for access requests in SharePoint 2010 / 2013

I ran into a helpful PowerShell script today that I wanted share. When creating SharePoint 2013 sites, by default (maybe it’s our default) the Allow access requests checkbox is enabled. (You can find this by going to Site Settings -> Site Permissions -> Access Request Settings.) The unfortunately issue with this, is when a user goes to your site, and submits an access request, the email may literally go to someone@example.com . I’d probably need to check with a mail person to see if there truly are requesting going to a @example.com domain or not. I do know for certainly though that the request never ends up in the hands of any actual person who can approve or reject the access request, which means the requestor waits and waits and finally emails someone directly frustrated that they followed the process and no one ever got back ahold of them. Therefore making the entire Access Request Process null and void. There’s was chaos, discord and rioting in the SharePoint streets! Well maybe not. Another issue is sometimes when I’d migrate a site over to our Farm, it was use the name of the person running the migration as the email to “Send all access request to…”  This may be okay if it’s just a top level site, but when you have a top level SC, and 5-6 sub sites, which...

Read More

Powershell Get Contents of GAC

I was recently tasked with going through all the servers in our farm and identifying if there were any differences in the dll’s in the Global Assembly Cache (GAC) on each server. If you’ve ever taken a peek into the GAC on a server you’ll notice that you can’t exactly eyeball the file names, versions, all the goods. So I needed a way to extract this information into a text document so I could run a compare or a diff. I was looking to put together a solution in PowerShell, and figured I’d check before recreating the wheel, and I found that someone had built this very solution and functions and it was available on codeplex! You can obtain package from http://powershellgac.codeplex.com/  Unzip and place onto Desktop. Then copy the Gac Folder into C:\Windows\System32\WindowsPowershell\V1.0\Modules\  (NOTE: I’m absolutely certain that there is a better place to put this module and have it called in PowerShell and I welcome someone who lets me know where there shold be. I’ll be happy to update this thread.) Run the command below to verify the GAC Module is available Get-Module -ListAvailable Execute the following command in PowerShell 2.0 to import the module Import-Module Gac If the Module import fails to load, run the following. Set-ExecutionPolicy RemoteSigned To get list of all the Gac files in a csv file run the following.   (Note: You’ll need to replace...

Read More

Twitter Posts