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
********************** | |
Windows PowerShell transcript start | |
Start time: 20211016130105 | |
Username: AAA-1V-FH01\Administrator | |
RunAs User: AAA-1V-FH01\Administrator | |
Machine: AAA-1V-FH01 (Microsoft Windows NT 10.0.14393.0) | |
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | |
Process ID: 7336 | |
PSVersion: 5.1.14393.4530 | |
PSEdition: Desktop |
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
[ExtensionOf(classStr(FormRun))] | |
public final class FormRun_Class_Extension | |
{ | |
/// <summary> | |
/// This allows unencrypted setting of the recordContext via the q querystring parameter: | |
/// q={"Parameters":[{"DataSource":"CustTable","FieldValues":[{"Field":"AccountNum","Value":"C123456789"}]}]} | |
/// </summary> | |
/// <param name = "_recordContext"></param> | |
/// <returns></returns> | |
public boolean applyRecordContext(str _recordContext) |
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
--- AutoDeployReportAndSyncDB.ps1 Sun Mar 28 05:19:50 2021 | |
+++ AutoDeployReportAndSyncDB_patched.ps1 Sun Apr 18 16:14:01 2021 | |
@@ -22,6 +22,7 @@ | |
[hashtable]$Credentials | |
) | |
#db sync | |
+invoke-Expression "net start reportserver" | |
$dbSyncScriptPath = "$PSScriptRoot\AutoDBSync.ps1" | |
$dbSyncScriptPath = Resolve-Path -Path $dbSyncScriptPath |
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
# Check PowerShell components | |
Get-Module -ListAvailable | |
# Check other components | |
git --version | |
# Check folders | |
Test-Path -Path "C:\Windows\System32\drivers\etc\hosts" | |
Test-Path -Path "C:\Windows\System32\inetsrv\Config\applicationHost.config" | |
Test-Path -Path "C:\FinancialReporting\Server\ApplicationService\bin\MRServiceHost.settings.config" |
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
PS C:\> Rename-D365ComputerName -NewName d365fo.tools -ShowOriginalProgress -Verbose | |
VERBOSE: [03:46:00][Rename-D365ComputerName] Testing for elevated runtime | |
VERBOSE: [03:46:00][Rename-D365ComputerName] Renaming computer to d365fo.tools | |
Rename-Computer : Skip computer 'MININT-57EHFHJ' with new name 'd365fo.tools' because the new name is not valid. The | |
new computer name entered is not properly formatted. Standard names may contain letters (a-z, A-Z), numbers (0-9), and | |
hyphens (-), but no spaces or periods (.). The name may not consist entirely of digits, and may not be longer than 63 | |
characters. | |
At line:109 char:5 | |
+ Rename-Computer -NewName $NewName -Force | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
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
PS C:\windows\system32> $repositoryModulePath = ".\d365fo.tools" | |
$azureStorageAccountId = "miscfiles" | |
$sas = "sv2018-03-28&siunlisted&src&sigAUOpdsfpoWE976ASDhfjkasdf(5678sdfhk" | |
$container = "backupfiles" | |
$fileName = "Test.txt" | |
# Install d365fo.tools prerequisites | |
$modules = @("PSFramework", "PSScriptAnalyzer", "Az.Storage", "AzureAd", "PSNotification", "PSOAuthHelper", "ImportExcel") | |
foreach ($item in $modules) { | |
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
# Replace the following three variables with values for your own azure storage | |
$azureStorageAccountId = "miscfiles" | |
$sas = "sv2018-03-28&siunlisted&src&sigAUOpdsfpoWE976ASDhfjkasdf(5678sdfhk" | |
$container = "backupfiles" | |
$repositoryModulePath = ".\d365fo.tools" | |
$fileName = "Test.txt" | |
# Install d365fo.tools prerequisites | |
$modules = @("PSFramework", "PSScriptAnalyzer", "Az.Storage", "AzureAd", "PSNotification", "PSOAuthHelper", "ImportExcel") |
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
// ==UserScript== | |
// @name Change Microsoft Learn page titles | |
// @namespace https://github.com/FH-Inway/tampermonkey | |
// @version 0.3 | |
// @description Changes titles of Microsoft Learn pages to provide better friendly links in Edge browser | |
// @author FH-Inway | |
// @match https://learn.microsoft.com/en-us/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=microsoft.com | |
// @updateURL https://gist.github.com/FH-Inway/471eabdc3d859b7ca9b83ff24289c0a1/raw/Change%2520page%2520titles.user.js | |
// @downloadURL https://gist.github.com/FH-Inway/471eabdc3d859b7ca9b83ff24289c0a1/raw/Change%2520page%2520titles.user.js |
OlderNewer