sudo yum install vim-enhanced -y
sudo yum install git -y
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
@{ | |
Something = 'this' | |
SomethingElse = 'that' | |
} |
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
function Set-CustomUserMailboxPermission { | |
[cmdletbinding()] | |
param ( | |
[parameter(ValueFromPipeline,Mandatory)] | |
[string]$User, | |
[parameter(ValueFromPipeline,Mandatory)] | |
[string[]]$Mailbox, | |
[parameter(Mandatory)] |
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
$Public = @(Get-ChildItem -Path $PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue) | |
$Private = @(Get-ChildItem -Path $PSScriptRoot\Private\*.ps1 -ErrorAction SilentlyContinue) | |
foreach ($import in @($Public + $Private)) { | |
try { | |
. $import.fullname | |
} catch { | |
Write-Error -Message "Failed to import function $($import.fullname): $_" | |
} | |
} |
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
<# | |
.SYNOPSIS | |
Creates an access control entry (ACE) and adds it to an access control list (ACL). | |
.DESCRIPTION | |
Creates an access control entry (ACE) and adds it to an access control list (ACL). | |
.PARAMETER Rights | |
A right or list of rights to be allowed or denied by the ACE. | |
NewerOlder