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
addSeconds('0001-01-01',div(int(variables('Ticks')),10000000)) |
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
UIAutomation.Click Element: appmask['Window \'File Upload\'']['Edit \'File name:\''] ClickType: UIAutomation.ClickType.LeftClick MousePositionRelativeToElement: UIAutomation.RectangleEdgePoint.MiddleLeft OffsetX: 90 OffsetY: -1 | |
UIAutomation.FormFilling.PopulateTextField TextField: appmask['File Upload\'']['Edit \'File name:\''] Text: InvoiceFileName | |
UIAutomation.FormFilling.PressButton Button: appmask['Window \'File Upload\'']['Button \'Open\''] |
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
## Group - Window 'File Upload' | |
:desktop > window[Name="%SharePointSiteName% - %DocumentLibraryName% - %DocumentLibraryViewName% — Mozilla Firefox"][Process="firefox"] | |
## UI Selector - Edit 'File name:' | |
> window[Class="#32770"][Name="File Upload"] > combobox[Class="ComboBox"][Name="File name:"] > edit[Class="Edit"] | |
## UI Selector - Button 'Open' | |
> window[Class="#32770"][Name="File Upload"] > button[Class="Button"][Name="Open"] |
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
$shellapp = New-Object -ComObject Shell.Application | |
$shellapp.WindowsSecurity() |
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
Import-CSV .\serviceapplicationpools.csv | ForEach-Object { | |
$serviceapplicationpool = $_.Name | |
$processaccountname = $_.ProcessAccountName | |
New-SPServiceApplicationPool -Name $serviceapplicationpool -Account $processaccountname | |
} |
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
Import-CSV .\managedaccounts.csv | ForEach-Object { | |
$username = $_.UserName | |
$password = $_.Password | ConvertTo-SecureString -asPlainText -Force | |
$credential = New-Object System.Management.Automation.PSCredential($username,$password) | |
new-SPManagedAccount -Credential $credential | |
} |
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
@import "/_layouts/1033/styles/ExpiscornovusTheme/theme.css" |
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
Param( | |
[string]$weburl | |
) | |
$spweb = Get-SPWeb -Identity $weburl | |
$pubweb = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($spweb) | |
$pagelayouts = $pubweb.GetAvailablePageLayouts() | Select Title,Name | |
$pagelayouts | |
$spweb.Dispose() |
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
#1. Stop UCC Service | |
$uccservice = get-service -Name UnifiedContactCenterService | |
$uccservice | Stop-service | |
#2. Back-up UCC files, Dashboard & Attendant | |
Copy-Item "C:\Program Files\UCC" -Destination "C:\Install\UCC\Backup_UCC_Files" -Recurse | |
Copy-Item "C:\inetpub\wwwroot\Attendant" -Destination "C:\Install\UCC\Backup_Attendant" -Recurse | |
Copy-Item "C:\inetpub\wwwroot\Dashboard" -Destination "C:\Install\UCC\Backup_Dashboard" -Recurse | |
#3. Extract Zip update package |
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
$usageservice = Get-SPUsageservice | |
$servers = Get-SpServer | ? {$_.Role -ne "Invalid"} | |
$usagelogdirunc = $usageservice.UsageLogDir -replace ':','$' | |
foreach | |
($server in $servers) | |
{ | |
$testuncpath = '\\' + $server.Address + '\' + $usagelogdirunc | |
$testuncpath | |
get-acl -Path $testuncpath | select -expand access | ? {$_.IdentityReference -like "*WSS_WPG" -or $.IdentityReference -like "*WSS_Admin_WPG"} | |
# get-acl -Path $testuncpath | select -expand access | ? {$_.IdentityReference -like "*Administrators"} |