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
git commit --allow-empty -m "empty" |
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
(</?.*?) [^<>]*?(>) |
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
cd C:\Users\hans.XTREMAX\Desktop\xsharepoint\script\farm-management | |
$modules = Get-ChildItem *.ps1 | |
foreach ($module in $modules) | |
{ | |
"$module" | |
Import-Module "$module" -Force | |
} |
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
=LEFT($A2,SEARCH("|",SUBSTITUTE($A2,"/","|",LEN($A2)-LEN(SUBSTITUTE($A2,"/",""))))-1) |
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 > | |
tr:first-child td { | |
background-color: #ACB9CA; | |
} | |
table { | |
border-collapse: collapse; | |
} | |
table, th, td { |
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
$svc = get-service | where displayname -like sql* | |
$svc | select name | foreach {stop-service $_} | |
$svc |
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
Get-AzRoleDefinition | ` | |
%{ | |
$a = $_ | |
$_.Actions | select ` | |
@{n="Role";e={$a.Name}}, | |
@{n="Type";e={"Actions"}}, | |
@{n="Definition";e={$_}} | |
$_.DataActions | select ` | |
@{n="Role";e={$a.Name}}, | |
@{n="Type";e={"DataActions"}}, |
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
✔⚠ |