This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.ms-acal-sdiv .ms-acal-time | |
{ | |
display: none; | |
} | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="_layouts/15/sp.runtime.js"></script> | |
<script type="text/javascript" src="_layouts/15/sp.js"></script> | |
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js"></script> | |
<script> | |
var context; | |
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', GetCustomActions); | |
function GetCustomActions() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(.s4-itm-cbx.s4-itm-imgCbx[aria-checked="true"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.4.min.js"></script> | |
<iframe id="iframe" src="" width="800px" height="400px"></iframe> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$('#iframe').attr('src','http://adatumsqlbi/reports/powerbi/PowerBITest?rs:Embed=true'); | |
}); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script language="javascript" type="text/javascript"> | |
$(document).ready(function () { | |
$(".ms-acal-sdiv >a, .ms-acal-title").text(function () { | |
return $(this).text().replace("No Title", ""); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-PSSnapin Microsoft.SharePoint.PowerShell | |
Workflow Visit-Sites | |
{ | |
[cmdletbinding()] | |
param([object]$sites) | |
$results =@() | |
foreach -parallel($s in $sites) | |
{ | |
$row = inlinescript{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Check if the Application Initialization feature is installed, if not install it | |
$webAppInit = Get-WindowsFeature -Name "Web-AppInit" | |
Write-output "$($webAppInit.Name) installed: $($webAppInit.Installed)" | |
if(!$webAppInit.Installed) | |
{ | |
Write-output "Installing: $($webAppInit.Name)" | |
Install-WindowsFeature $webAppInit -ErrorAction Stop | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE tempdb; | |
GO | |
DBCC SHRINKFILE('tempdb4', EMPTYFILE) | |
GO | |
USE master; | |
GO | |
ALTER DATABASE tempdb | |
REMOVE FILE tempdb4; |