This file contains 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
<?php if(!isset($subpages)) $subpages = $site->pages(); | |
if(!isset($id)) $id = 0; ?> | |
<?php $id+=1; | |
foreach($site->breadcrumb() AS $crumb): | |
$breadcrumb[] = $crumb->url(); | |
endforeach ?> | |
<ul id="accordiongroup_<?php |
This file contains 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
<?php /*?>* function csv_to_array | |
* @link http://gist.github.com/385876 | |
* @author Jay Williams <http://myd3.com/> | |
* @copyright Copyright (c) 2010, Jay Williams<?php */?> | |
<?php | |
$imagelist= $page->imagelist(); | |
if ($imagelist != ''){ | |
function csv_to_array($filename='', $delimiter=',') { |
This file contains 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
REM Office Web Components | |
.\64bit\OfficeWeb_11\owc11.exe /quiet | |
REM Visual C++ 2005 Redistributables | |
pushd "64bit\Microsoft_C++_2005_Redistributable_(x64)" | |
.\vcredist_x64.exe /Q | |
popd | |
.\64bit\Microsoft_C++_2005_Redistributable\vcredist_x86.exe /Q |
This file contains 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
#installers | |
.\Sibelius712b46.exe" /LSINFO=calf /VERYSILENT /SUPPRESSMSGBOXES | |
.\Sibelius713b77Update.exe" /LSINFO=calf /VERYSILENT /SUPPRESSMSGBOXES | |
#instrument files and reg mod. | |
$localPath = "C:\YOUR\PATH" | |
copy-item -Path "$installerPath\Sibelius 7 Sounds" -Destination $localPath -Recurse | |
# Sibelius Sounds Update must be run manually following silent install as it is not possible to suppress user interation |
This file contains 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
param( | |
[string]$HostName, | |
[string]$Mac, | |
[string]$ip, | |
[switch]$All, | |
[switch]$broadcast, | |
[ValidateSet(“Site1”,”Site2”)][string]$site = "Site1" | |
) |
This file contains 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
[cmdletbinding()] | |
param( | |
[Parameter(ParameterSetName=’NamedHost’)] | |
[string]$HostName, | |
[Parameter(ParameterSetName=’AllHosts’)] | |
[switch]$All, | |
[switch]$DHCP, |
This file contains 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
<?xml version="1.0" encoding="UTF-16"?> | |
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
<RegistrationInfo> | |
<Date>2017-04-25T15:39:00.4152962</Date> | |
<Author>DOMAIN\User</Author> | |
<Description>Triggers only on Exam Accounts 01-18 log-off events and clears just the logging off users files.</Description> | |
</RegistrationInfo> | |
<Triggers> | |
<EventTrigger> | |
<Enabled>true</Enabled> |
This file contains 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
param( | |
[CmdletBinding(DefaultParameterSetName="OU")] | |
[Parameter( | |
ParameterSetName="Computer", | |
ValueFromPipeline=$true, | |
ValueFromPipelineByPropertyName=$true)] | |
[string[]]$ComputerName, | |
[Parameter(ParameterSetName="OU")] | |
[string]$SearchBase = "OU=Target,OU=Stations,DC=hagatorn,DC=local", |
This file contains 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
param( | |
[CmdletBinding()] | |
[ValidatePattern('^(((?<days>[0-9]+)\+)?((?<hours>[0-9]{1,2}):))?(?<mins>[0-9]{1,2})$')] | |
[string]$quserTimeString | |
) | |
$string = $quserTimeString |
OlderNewer