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:
# 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 |
function Enable-RemotePSRemoting | |
{ | |
[cmdletbinding()] | |
Param( | |
[Parameter(Mandatory = $True,Position = 0,ValueFromPipelineByPropertyName = $True)] | |
[string[]]$ComputerName, | |
[Parameter(Mandatory = $False)] | |
[switch]$Force, |
function Get-ConfigMgrSite | |
{ | |
[cmdletbinding()] | |
Param() | |
Begin{} | |
Process{ | |
$ManagementPointSearcher = [adsisearcher]'ObjectClass=mssmsmanagementpoint' |
using namespace System.Management.Automation | |
function Search-Sysmon | |
{ | |
[CmdletBinding(DefaultParameterSetName='InProcess')] | |
Param( | |
[Parameter(Mandatory = $False)] | |
[switch]$CreateRemoteThread, |
using namespace System.Management.Automation | |
function Search-SysmonCommandline | |
{ | |
[CmdletBinding(DefaultParameterSetName='InProcess')] | |
Param( | |
[Parameter(Mandatory = $True)] | |
[string[]]$CommandLine, | |
[Parameter(Mandatory = $False)] |
I hereby claim:
To claim this, I am signing this object:
#requires -Version 5 | |
function Confirm-DomainAdmin | |
{ | |
[cmdletbinding()] | |
Param( | |
[Parameter(Mandatory = $True, Position = 0,ValueFromPipelineByPropertyName = $True)] | |
[Alias('Username')] | |
[string[]]$SamAccountName | |
) |
function Connect-ExchangeOnline | |
{ | |
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory = $False)] | |
[pscredential]$Credential = $null, | |
[Parameter(Mandatory = $False)] | |
[string]$ConnectionURI = 'https://outlook.office365.com/powershell-liveid', |