Click the rule and edit the item selecting the checkbox Repair Automatically, then save.
Now, every time this message comes up SharePoint will try to fix the issue automatically creating the missing timer jobs
By Edge Pereira
A blog on Office 365 DLP, SharePoint, Data Protection, Privacy and Compliance in the cloud.
Click the rule and edit the item selecting the checkbox Repair Automatically, then save.
Now, every time this message comes up SharePoint will try to fix the issue automatically creating the missing timer jobs
By Edge Pereira
logo {
font: 60px "Segoe UI";
color: #747273;
line-height: 1.5em;
padding-left: 1.7em;
}
logo:before {
content: '\2006';
position: absolute;
height: 0.095em;
left: 0;
box-shadow: 0.35em 0.35em 0 0.25em #f8510c, 1.05em 0.35em 0 0.25em #7eba00, 0.35em 0.97em 0 0.25em #00a3f4, 1.05em 0.97em 0 0.25em #ffba00;
}
By Edge Pereira
By Edge Pereira
By Edge Pereira
function Get-Active-Directory-Forest-Object ([string]$ForestName, [System.Management.Automation.PsCredential]$Credential) { #if forest is not specified, get current context forest If (!$ForestName) { $ForestName = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest().Name.ToString() } If ($Credential) { $credentialUser = $Credential.UserName.ToString() $credentialPassword = $Credential.GetNetworkCredential().Password.ToString() $adCtx = New-Object System.DirectoryServices.ActiveDirectory.DirectoryContext("forest", $ForestName, $credentialUser, $credentialPassword ) } Else { $adCtx = New-Object System.DirectoryServices.ActiveDirectory.DirectoryContext("forest", $ForestName) } $output = ([System.DirectoryServices.ActiveDirectory.Forest]::GetForest($adCtx)) Return $output }
By Edge Pereira
if you just received your Microsoft Surface RT, when going to the Windows 8 app store you should see the prices in your local currency. In my case I saw the prices in British Pounds…living in Australia it does not make much sense…so if you come across this, here’s how to fix:
at the Start Menu, type ‘location’. and select the option ‘Settings’ and ’Change location’
in the next screen, choose your correct location. In my case, my Surface was configured to ‘United Kingdom’, so I just changed to ‘Australia’
click OK and voila! all set. If you go to the Windows Store again you should see the prices adjusted to your correct currency.
By Edge Pereira
By Edge Pereira
By Edge Pereira
Cheers,
By Edge Pereira
function count-items-by-site-by-list-type($URL, $BASETEMPLATE) { $site = Get-SPSite $URL $totalItems = 0 foreach($web in $site.AllWebs) { $lists = $web.Lists for ($i=0; $i -le $lists.Count – 1; $i++) { $list = $lists[$i] if ($list.BaseTemplate -eq $BASETEMPLATE) { $totalItems = $totalItems + $list.Items.Count } } } $site.Dispose() write-host $totalItems }
function count-pages($URL) { $site = Get-SPSite $URL $totalPages = 0 foreach($web in $site.AllWebs) { write-host write-host "Processing:" $web.Url $lists = $web.Lists write-host "(lists found ):" $lists.Count write-host "-------------------" for ($i=0; $i -le $lists.Count – 1; $i++) { try { $list = $lists[$i] for ($j=0; $j -le $list.Items.Count – 1; $j++) { $item = $list.items[$j] if ( $item.Url.ToLower().EndsWith(".aspx") ) { $totalPages++ write-host -fore green -back green " " -nonewline } } } catch { write-host -fore red -back red " " -nonewline } } } $site.Dispose() write-host write-host "----------------------------------" write-host "total pages found--->" $totalPages }
Cheers,
By Edge Pereira
function fix-quicklaunch-links([string]$URL, [string]$oldString, [string]$newString) { $errorFileName = "c:\temp\fix-quicklaunch-links-ERROR.txt" $successFileName = "c:\temp\fix-quicklaunch-links-SUCCESS.txt" $site = Get-SPSite $URL $totalWebs = $site.AllWebs.Count – 1 foreach($web in $site.AllWebs) { Write-Host Write-Host -fore white -back blue "Processing web: " $web.Url $nav = $web.Navigation $quicklaunch = $nav.QuickLaunch $totalQuickLaunch = $nav.QuickLaunch.Count - 1 for ($i=0; $i -le $totalQuickLaunch; $i++) { $mainlink = $quicklaunch[$i] $linkurl=$mainlink.Url if ($linkurl.Contains($oldString)) { try { $mainlink.Url = $linkurl.Replace($oldString, $newString) $mainlink.Update() write $linkurl | Out-File -filepath $successFileName -append write-host -fore green -back green "." -nonewline } catch { write $linkurl $_.Exception.Message | Out-File -filepath $errorFileName -append write-host -fore red -back red "." -nonewline } } $totalChildren = $mainlink.Children.Count - 1 for ($j=0; $j -le $totalChildren; $j++) { $child = $mainlink.Children[$j] $childurl = $child.Url if ($childurl.Contains($oldString)) { try { $child.Url = $childurl.Replace($oldString, $newString) $child.Update() write $childurl | Out-File -filepath $successFileName -append write-host -fore green -back green "." -nonewline } catch { write $childurl $_.Exception.Message | Out-File -filepath $errorFileName -append write-host -fore red -back red "." -nonewline } } } } $web.Update() } $site.Dispose() $finaldate = Get-Date write-host write-host -fore white -back blue "End of processing (" $finaldate ")" }
Cheers,
By Edge Pereira
<script language="javascript" src="/js/jquery-1.8.0.min.js" type="text/javascript" />
<script language="javascript" src="/js/jquery.SPServices-0.7.1a.min.js" type="text/javascript" />
<script language="javascript" type="text/javascript">
$(document).ready(
function()
{
$().SPServices.SPCascadeDropdowns(
{
relationshipList: "Cities",
relationshipListParentColumn: "Country",
relationshipListChildColumn: "Title",
parentColumn: "countrylookup",
childColumn: "citylookup",
debug: true
});
});
</script>
Cheers,
By Edge Pereira
By Edge Pereira
Cheers,
By Edge Pereira
Cheers,
By Edge Pereira