I hereby claim:
- I am psrdrgz on github.
- I am adrianrodriguez (https://keybase.io/adrianrodriguez) on keybase.
- I have a public key ASBcUpfwNbnU2gid42HMKSZ8_JgpAM0CMKhM3CHhUVHmIQo
To claim this, I am signing this object:
function Connect-ExchangeOnline | |
{ | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory = $False)] | |
[pscredential]$Credential = $null, | |
[Parameter(Mandatory = $False)] | |
[string]$ConnectionURI = 'https://outlook.office365.com/powershell-liveid', |
#requires -Version 5 | |
function Confirm-DomainAdmin | |
{ | |
[cmdletbinding()] | |
Param( | |
[Parameter(Mandatory = $True, Position = 0,ValueFromPipelineByPropertyName = $True)] | |
[Alias('Username')] | |
[string[]]$SamAccountName | |
) |
I hereby claim:
To claim this, I am signing this object:
using namespace System.Management.Automation | |
function Search-SysmonCommandline | |
{ | |
[CmdletBinding(DefaultParameterSetName='InProcess')] | |
Param( | |
[Parameter(Mandatory = $True)] | |
[string[]]$CommandLine, | |
[Parameter(Mandatory = $False)] |
using namespace System.Management.Automation | |
function Search-Sysmon | |
{ | |
[CmdletBinding(DefaultParameterSetName='InProcess')] | |
Param( | |
[Parameter(Mandatory = $False)] | |
[switch]$CreateRemoteThread, |
function Get-ConfigMgrSite | |
{ | |
[cmdletbinding()] | |
Param() | |
Begin{} | |
Process{ | |
$ManagementPointSearcher = [adsisearcher]'ObjectClass=mssmsmanagementpoint' |
function Enable-RemotePSRemoting | |
{ | |
[cmdletbinding()] | |
Param( | |
[Parameter(Mandatory = $True,Position = 0,ValueFromPipelineByPropertyName = $True)] | |
[string[]]$ComputerName, | |
[Parameter(Mandatory = $False)] | |
[switch]$Force, |
# Create ConfigMgr Script to set DisableCompression to 1 | |
New-CMScript -ScriptText 'Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 1 -Force' -ScriptName 'ADV200005 - Disable SMBv3 Compression' -Fast | |
# Create ConfigMgr Script to set DisableCompression to 0 | |
New-CMScript -ScriptText 'Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 0 -Force' -ScriptName 'ADV200005 - Re-Enable SMBv3 Compression' -Fast |