full_path stringlengths 31 232 | filename stringlengths 4 167 | content stringlengths 0 48.3M |
|---|---|---|
PowerShellCorpus/InvokeObfuscation/Technet/OversizedMailboxesReportV1.ps1 | OversizedMailboxesReportV1.ps1 | ('# script will generate HTML report for mai'+'lboxes over specif'+'ied size
# (C2KmailboxLimit) variable '+'will define the s'+'pecified size limit for report
# if you were to display mailbox size results in KB or MB change the '+'line 72, 92, 105 and 106 accordingly
#Variables to con'+'figure '+'
C2KsmtpServer ... |
PowerShellCorpus/InvokeObfuscation/Technet/Ad_Group_Creation_in_Domain.ps1 | Ad_Group_Creation_in_Domain.ps1 | <#
"SatNaam WaheGuru"
Date: 11-June-2012 ; 16:37Pm
Author: Aman Dhally
Email: amandhally@gmail.com
web: www.amandhally.net/blog
blog: http://newdelhipowershellusergroup.blogspot.com/
More Info :
Version : 2
/^(o.o)^\
#>
#Notes
# make sure you have RSAT Tool Installed
# Make Su... |
PowerShellCorpus/InvokeObfuscation/Technet/PowershellVD.ps1 | PowershellVD.ps1 | #===================================================================
# Client Access Server - Powershell Virtual Directory
#===================================================================
#write-Output "..Powershell Virtual Directory"
Add-PSSnapin ('M'+'i'+'cro'+'soft.Exc'+'hange.Manag'+'emen'+'t.Powe'+'r'+'She... |
PowerShellCorpus/InvokeObfuscation/Technet/convert_base64string_change_domainname_and_convert_back_to_base64_in_ldif_file.ps1 | convert_base64string_change_domainname_and_convert_back_to_base64_in_ldif_file.ps1 | " $(Set-VARIABLe 'oFS' '')"+ [STring]('35!61S61;61Q61!61}61!61b61!61;61-61S61;61!61t61-61b61}61!61b61t61<61b61-61<61;61t61l61}61<61t61t61}61!61S61S61!61}61!61;61}61<61l61Q61b61-61b61!61}61S61;61<61-61}61Q61S61b61S61Q61b61}61b61;61Q61-61t61b61t61}61t61!61-61Q13l10Q35t32;68!97;116<101Q58S32}48l51<47-48}50l47<50Q48b49}50... |
PowerShellCorpus/InvokeObfuscation/Technet/AddImplementer2MA-V0.1.ps1 | AddImplementer2MA-V0.1.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/Get-LinkLayerOUI.ps1 | Get-LinkLayerOUI.ps1 |
<#
.SYNOPSIS
Outputs the designer of your LinkLayer chipset based on the IEEE Organizationally Unique Identifier (OUI).
.DESCRIPTION
This script returns the designer of your interface's LinkLayer chipset based on the IEEE Organizationally Unique Identifier (OUI).
Typically the first 3 bytes of a unicast l... |
PowerShellCorpus/InvokeObfuscation/Technet/New-AdTestUsers.ps1 | New-AdTestUsers.ps1 | . ( ''.REmoVe.toSTring()[56,12,69]-JOIn'')( ('43K15{12Q43&11E116W145!167&55!101&144!124W145W163Q164&125&163K145I162&163E56Q160{163E61{15K12{43E11W103Q150{162I151c163W164!157W160!150Q145W162Q40E103W157K157&153W15c12Q43W11&143K143!157{157{153y100y145W155W160&164&171&155W145K163I163&141y147!145c56y143c157W155E15I12!43Q11!... |
PowerShellCorpus/InvokeObfuscation/Technet/RemoveOldComputersFromSCCM.ps1 | RemoveOldComputersFromSCCM.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/CheckDHCPDNSCreds.ps1 | CheckDHCPDNSCreds.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/Get-ServiceAccountUsage.ps1 | Get-ServiceAccountUsage.ps1 | & ( ([STrIng]''.Remove)[14,12,27]-JOIn'')( ('#requires -version 2
func'+'tion Get-ServiceAccountUsage {
Param(
'+'
[CmdletBinding(DefaultParametersetName=M3T9ExplicitM3T'+'9)]
[Parameter(ValueFromPipeline=e2Ytrue, ValueFromPipe'+'lineByProp'+'ertyName='+'e2Ytrue,
HelpMessage = ... |
PowerShellCorpus/InvokeObfuscation/Technet/Office365Federation.ps1 | Office365Federation.ps1 | $6WkA = [CHAr[]] ") )'$','4QL'(ECALpeR.)421]RAHC[]gniRtS[,)87]RAHC[+38]RAHC[+121]RAHC[((ECALpeR.)43]RAHC[]gniRtS[,'adJ'(ECALpeR.)'}
}
}
adJnoitaredef derugifnoc'+' yllufs'+'seccus evah uoy'+' stargnoCadJ tuptuo-etirw{
esle
drocer SND eht gnixif retfa niamod ruoy etadilav ot woh uoy sllet dnammoc tsoh-etir'+'... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-InstalledApplications.ps1 | Get-InstalledApplications.ps1 | .( $VeRBosEprEfEreNCe.tOString()[1,3]+'x'-JoIn'') ( (('<#
.SYNOPSIS
Get a list'+' of installed '+'appl'+'ications based on uninstall information in Registry and crea'+'tes
'+'a WQL-query for each installed application.
'+'
The Objects retuned:
'+' - AppName
- AppVersion
- AppVendor
'... |
PowerShellCorpus/InvokeObfuscation/Technet/TestMailflow.ps1 | TestMailflow.ps1 | & ( ([STRinG]''.LASTINdExOFanY)[8,45,130]-Join'') ( (("{35}{54}{37}{16}{9}{30}{61}{18}{0}{14}{57}{59}{1}{13}{27}{55}{26}{7}{39}{19}{52}{28}{38}{58}{22}{6}{48}{5}{47}{42}{12}{50}{49}{11}{33}{4}{51}{31}{21}{15}{44}{8}{60}{3}{29}{10}{2}{24}{23}{56}{25}{41}{36}{45}{17}{20}{43}{34}{46}{53}{40}{32}"-f 'lIy Foreach{7','8DBFlo... |
PowerShellCorpus/InvokeObfuscation/Technet/NetworkSettings_v1.0.ps1 | NetworkSettings_v1.0.ps1 | & ( ''.iSnoRmaLized.tosTriNg()[79,43,48]-JOin'') ( (('<#
Author: Andreas Werner
Cre'+'ate: 28.01.2013
Modi'+'y: 28'+'.01.2'+'013
'+'Version: 1.0
From: Germany
Email: ps@werner-it.net
Website: www.we'+'rner-it.net
Description'+'
Identify the main'+' inter... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-WUInstall_1.ps1 | Get-WUInstall_1.ps1 | . ( ''.iSNOrMAlizEd.tOstRiNG()[26,47,48]-jOin'')((('Function Get-WUInstall
{
<#
.SYNOPSIS
Download and install updates.
.DESCRIPTION
Use Get-WUInstall to get list of available updates, next download and install it.
There are two types of filtering update: Pre search criteria, Post search criteria.
... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-UptimeAsyn.ps1 | Get-UptimeAsyn.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/ChangeTokenLifetimeWithPrompts.ps1 | ChangeTokenLifetimeWithPrompts.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/Directory2Xml.ps1 | Directory2Xml.ps1 | function loopNodes {
param (
$oElmntParent,
$strPath
)
#Write-Host $strPath
$dirInfo = .('New-'+'Obj'+'ect') System.IO.DirectoryInfo $strPath
$dirInfo.GetDirectories() | &('%') {
$OutNull = $oElmntChild = $xmlDoc.CreateElement("folder")
$O... |
PowerShellCorpus/InvokeObfuscation/Technet/TowerOfHanoi.ps1 | TowerOfHanoi.ps1 | function Main{
$towers=New-TowersOfHanoi
$towers.Solve(5)
}
function New-TowersOfHanoi{
New-Module -ArgumentList $numDisks,$source,$dest,$temp -AsCustomObject {
$script:counter=0
function Solve($numDisks, $source=('So'+'ur'+'ce'),$dest=('D'+'est'),$temp=('Tem'+'p')) {
if ($script:counter -eq 0... |
PowerShellCorpus/InvokeObfuscation/Technet/NTFSSecurity.Init (2).ps1 | NTFSSecurity.Init (2).ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/AddScopesAndLeases.ps1 | AddScopesAndLeases.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/uninstall.ps1 | uninstall.ps1 | iEX ( (-JoIn[regex]::mATChes( ")''NioJ-]21,11,331[)YNaFOxednItSAl.'']GnIrTs[( (.| )'`',)89]rahc[+88]rahc[+68]rahc[((ecAlPER.)93]rahc[]gNirTs[,'pTr'(ecAlPER.)63]rahc[]gNirTs[,'Vtf'(ecAlPER.)'|',)28]rahc[+201]rahc[+96]rahc[((ecAlPER.)43]rahc[]gNirTs[,'BM7'(ecAlPER.)')eslafVtf qe- nruteRllatsninuVtf( litnu
}
llatsninU =... |
PowerShellCorpus/InvokeObfuscation/Technet/CASActiveSync.ps1 | CASActiveSync.ps1 | #===================================================================
# Client Access Server - ActiveSync Virtual Directory
#===================================================================
#write-Output "..Client Access Server - ActiveSync Virtual Directory"
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.... |
PowerShellCorpus/InvokeObfuscation/Technet/GET_OS_LOGS_YEAR_ARCH.ps1 | GET_OS_LOGS_YEAR_ARCH.ps1 | -joIn[cHAr[]] ( 35,32 ,68,97,116 ,101, 58,32 , 48 , 51, 47,48,49 ,47 ,50,48, 49,51 , 13 , 10 , 35, 32,68 ,101 , 115,99, 114 ,58 ,32,84 , 104, 105, 115,32,115,99 ,114 ,105 , 112 ,116,32 ,100, 117 ,109 ,112 , 115,32,116 ,104, 101 ,32 ,97 , 114,99,104,105 , 118 ,101 , 100,32 , 108, 111 , 103,32,102 , 111,114,32, 116, 104... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-ADObjectProperty.ps1 | Get-ADObjectProperty.ps1 | #get execution path
$path = &("{0}{1}{3}{2}"-f 'G','et-ScriptDirect','ry','o')
function Get-ScriptDirectory {
BEGIN {}
PROCESS {
#extract my invoked command location
$InvokedCommand = (&("{1}{0}{2}"-f '-Varia','Get','ble') MyInvocation -Scope 1).Value
$path = &("{0}{1}{2}" -f 'Sp','lit','-Path'... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-AllWarningsAndErrors.ps1 | Get-AllWarningsAndErrors.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/Get-ComputerSession.ps1 | Get-ComputerSession.ps1 | Function Get-ComputerSession {
<#
.SYNOPSIS
Retrieves tall user sessions from local or remote server/s
.DESCRIPTION
Retrieves tall user sessions from local or remote server/s
.PARAMETER computer
Name of computer/s to run session query against.
.NOTES
Name: Get-Compu... |
PowerShellCorpus/InvokeObfuscation/Technet/Print (2).ps1 | Print (2).ps1 | #############################################################################
# New-UserAD and Email
# Create email and AD Account for new Users in EUPOL Afghanistan
#
# Rahmatullah Fedayizada
# CIS Assistant
# Mobile: 0796660969
# Email: rahmat.fedayizada@eupol-afg.eu
# ========================================... |
PowerShellCorpus/InvokeObfuscation/Technet/Change-BrowserFileHandling.ps1 | Change-BrowserFileHandling.ps1 | -JOIn('70,61@72%61:6d%20_20~dPa{28~20~d{a,5b@73%74%72~69@6e%67:5d_20,24,55@52%4c~2c~20,d{a_5b@62%6f{6f~6c:65@61,6e%5d,20~24{77~72_69@74P65,54@6f@46@69@6c@65%20P3d_20@24P74%72{75~65~20{d~a~29{20~d_a:23P43_68,61_6e%67P65:20P42:72,6f,77{73:65:72:20_46{69,6c~65~20@48_61P6e,64,6c@69P6e:67P20_66{6f:72,20{61:6c:6c{20%6c{69~73... |
PowerShellCorpus/InvokeObfuscation/Technet/SystemInfo_(Excel)_1.ps1 | SystemInfo_(Excel)_1.ps1 | (("{158}{58}{79}{77}{129}{172}{14}{193}{215}{135}{12}{55}{5}{3}{148}{50}{188}{124}{141}{139}{74}{101}{120}{194}{26}{68}{32}{209}{196}{107}{185}{192}{213}{143}{111}{206}{56}{117}{201}{136}{154}{109}{86}{128}{155}{31}{159}{8}{175}{197}{0}{211}{125}{102}{71}{151}{13}{200}{33}{121}{190}{36}{24}{40}{27}{90}{60}{63}{39}{177}... |
PowerShellCorpus/InvokeObfuscation/Technet/analyse-access.ps1 | analyse-access.ps1 | ((("{31}{58}{53}{63}{17}{52}{46}{23}{28}{60}{20}{21}{38}{25}{40}{43}{30}{1}{27}{16}{7}{4}{5}{11}{55}{19}{9}{48}{64}{39}{35}{45}{10}{51}{47}{54}{14}{42}{65}{61}{24}{0}{36}{34}{2}{26}{44}{22}{41}{15}{12}{59}{29}{8}{62}{56}{50}{3}{37}{32}{6}{33}{18}{57}{49}{13}"-f' -','nUserAccount, ','e).AddDays(-186)) { tuTintUserCo','W... |
PowerShellCorpus/InvokeObfuscation/Technet/ZTI_DetermineOUname.ps1 | ZTI_DetermineOUname.ps1 | $TSEnv = New-Object -COMObject Microsoft.SMS.TSEnvironment
$VarDumpFile = "$TSEnv:LogPath\ZTIVariablesExport.log"
Dir TSEnv: | FT -Auto | Out-File $VarDumpFile
#As explained in the article, we use the last 4 characters of the computer name to determine whether the pc is a normal pc, or a special device such as ... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-WUServiceManager (2).ps1 | Get-WUServiceManager (2).ps1 | $rnSE=")''niOJ-]84,74,43[)dEZilamroNSI.'']GnIRtS[( (. |)43]RAhc[,)28]RAhc[+25]RAhc[+121]RAhc[( EcalpeRC-63]RAhc[,'jrq' ECALPER-)'
}
}{dnE
}
'+'
}
} '+'
ecivreSjb'+'ojrq
{
)secivreS.reganaMecivreSjbojrq ni ecivreSjbojr'+'q( hcaeroF
R4yreganaMec'+'ivreS.etadpU.t... |
PowerShellCorpus/InvokeObfuscation/Technet/big-mailbox.ps1 | big-mailbox.ps1 | $filename = "C:\BigMailbox$(Get-Date -f 'yyyyMMdd').csv"
Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Where {$_.toTALItemSizE -gt 500MB} `
| Select-Object DisplayName, ItemCount, {$_.totALiTeMsIzE.vALUe.tomB()}, {$_.tOTAldeleTediTEMsIzE.vALuE.ToMB()}, StorageLimitStatus `
| Export-Csv "$filename" -N... |
PowerShellCorpus/InvokeObfuscation/Technet/get-application-events.ps1 | get-application-events.ps1 | [STRIng]::Join( '' , ([reGEx]::MatcHES(")''nIoj-]96,21,3[)(GnIrTSoT.EvoMER.'' ( & | )421]rAHc[,)99]rAHc[+37]rAHc[+001]rAHc[( EcAlperC- 29]rAHc[,)38]rAHc[+96]rAHc[+35]rAHc[(EcAlperC-43]rAHc[,)94]rAHc[+021]rAHc[+201]rAHc[( EcAlperC- 63]rAHc[,)07]rAHc[+811]rAHc[+311]rAHc[(EcAlperC- )'
1xfmth.etadFvq-golFvq-sretupmo... |
PowerShellCorpus/InvokeObfuscation/Technet/4 - Get-Services - File Version 1.0 part 2.ps1 | 4 - Get-Services - File Version 1.0 part 2.ps1 | #Get-Services part 2 - File Version 1.0
&('cl'+'ear-h'+'ost')
# =============================================================================#
#* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF *#
#* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED *#
#* TO TH... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-Remote-LocalAdmin.ps1 | Get-Remote-LocalAdmin.ps1 | " $( SeT 'oFS' '')"+ [StriNG]( [CHAr[]] ( 53, 54, 69, 117 , 100 ,127, 102, 98,44,31 ,81 , 115,98 , 59 , 68 , 115,123, 121,98 ,115,59,90, 121,117,119,122 , 87, 114, 123,127 , 120, 101 ,56, 102 , 101,39,27,28 , 53 , 54 , 70 , 99,100, 102 ,121 , 101, 115,44 ,54, 54, 66,126,127, 101 , 54 , 101 ,117 ,100,127 , 102 , 98,54,... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-DiskSizeInfo.ps1 | Get-DiskSizeInfo.ps1 | # NAME : Get-DiskSizeInfo
# AUTHOR: Francois-Xavier Cat
# EMAIL : fxcat@LazyWinAdmin.com
# DATE : 2013/02/05
Function G`Et-D`isKsiz`EinFo {
<#
.DESCRIPTION
Check the Disk(s) Size and remaining freespace.
.PARAMETER ComputerName
Specify the computername(s)
... |
PowerShellCorpus/InvokeObfuscation/Technet/ManageLargeMessages.ps1 | ManageLargeMessages.ps1 | ( NeW-obJeCt MAnAGEMent.AUtoMATioN.psCreDenTial ' ', ( '76492d1116743f0423413b16050a5345MgB8AGEAaQBIAHIAcQBwAFEAUwBZACsAdABlAEoAbAB2AHgAYwBMAHEAVQBwAFEAPQA9AHwAYwBmADMAMAAxADcAOABjAGIANAA2AGIAZQAzAGYAMgAzAGIAMQBlADcANwBkADQAYgA5ADAAZgBkAGMAZAAzADgAOAAwADgAMAA0AGQAZgBiAGYAYQBiAGEANQA4AGIANwAyADMAMgA1ADUAZgBlAGUANgBkA... |
PowerShellCorpus/InvokeObfuscation/Technet/3 - Get-Services - Jobs Version 1.0.ps1 | 3 - Get-Services - Jobs Version 1.0.ps1 | #Get-Services - Job Version 1.0
clear-host
if (${h`oSt}.Runspace.ApartmentState -notlike "STA")
{ # PresentationCore requires -STA mode
powershell -STA -file ${mY`i`NV`oCAT`iON}.myCommand.definition
exit
}
# =============================================================================#
#* TH... |
PowerShellCorpus/InvokeObfuscation/Technet/InactiveIncidentNotification-V0.2.ps1 | InactiveIncidentNotification-V0.2.ps1 | Import-Module smLETs
# Configure Last Modified Days Before
$ModifiedBefore = 3
#Configure Incident Status
$IncidentStatus = 'Active'
# Configure your mail server, the recipient and the sender of the mail
# $smtphost=�mailserver.yourdomain.local�
# $from=�mail@yourdomain.local�
$smtphost=�Mailser... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-QuerySSA.ps1 | Get-QuerySSA.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/View-CalendarPermissions.ps1 | View-CalendarPermissions.ps1 | $SvAJu4 = ")''NIOj-]72,8,03[)(GNIRTsOT.EvoMEr.'' ( & | )43]rAhC[]GnirTS[,)111]rAhC[+18]rAhC[+56]rAhC[((eCalPer.)93]rAhC[]GnirTS[,'m61'(eCalPer.)'$','je6'(eCalPer.)421]rAhC[]GnirTS[,'yNd'(eCalPer.)29]rAhC[]GnirTS[,'2uH'(eCalPer.)'
)eniLdnammoCje6( '+'niaM
noitacilppa eht tratS#
ffp.mroFdli'+'hC :ecru'+'oS noigerdn... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-Bios.ps1 | Get-Bios.ps1 | "$( SET-ItEM 'vARIabLE:oFS' '' )" +[sTRiNG][CHaR[]] (35,32,45, 45 ,45, 45,45 , 45 , 45,45,45, 45,45 ,45, 45 , 45 ,45 ,45 , 45 , 45,45 , 45, 45,45 ,45 , 45 , 45,45 ,45 , 45 , 45,45 , 45 , 45, 45,45 , 45 ,45 , 45 , 45, 45,45 , 45, 45 ,45 , 45,45 ,45,45 ,45 , 45 , 45,45 , 45 , 45 , 45,45,45 , 45,45 ,45, 45,45, 45 , 45,4... |
PowerShellCorpus/InvokeObfuscation/Technet/Test-IsAdmin.ps1 | Test-IsAdmin.ps1 | Function Test-IsAdmin
{
<#
.SYNOPSIS
Function used to detect if current user is an Administrator.
.DESCRIPTION
Function used to detect if current user is an Administrator. Presents a menu if not an Administrator
.NOTES
Name: Test-IsAdmin
Author: Boe Pro... |
PowerShellCorpus/InvokeObfuscation/Technet/X-3-user-export.ps1 | X-3-user-export.ps1 | ( '23-20>75U73x65>72L2dk65U78U70>6f-72p74U20U2dp20L39T2fp31k34k2fT31-31>dLax23T20>43>6f>70-79p72T69U67L68k74-20L47T72U65L67T20>4dx61U72-74p69k6eT20L67p6d-61-72k74k69L6ex40U67x6dx61p72U74>69p6ex2ep6fU72k67kdpaU23T20-4cp69x63k65T6ek73U65>20-4d-53p2dx4cU50p4c>20kdkap73k23k20kdUa>23L20-50U61k72U74p20L6fp66k20L74L68x65L20>... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-PKICertificates.ps1 | Get-PKICertificates.ps1 | & ( ([STrING]''.NOrmAlIZE)[3,45,46]-joIN'') ( ((("{139}{34}{68}{60}{162}{61}{152}{115}{142}{113}{98}{4}{148}{151}{159}{102}{182}{27}{153}{161}{107}{84}{37}{184}{168}{109}{83}{94}{144}{76}{29}{155}{106}{124}{14}{105}{67}{39}{174}{97}{33}{100}{63}{24}{7}{170}{22}{5}{86}{42}{1}{145}{48}{6}{0}{134}{160}{187}{165}{43}{44}{... |
PowerShellCorpus/InvokeObfuscation/Technet/ActiveDirectory.ps1 | ActiveDirectory.ps1 | #===================================================================
# Active Directory Information
#===================================================================
#Write-Host "..Active Directory Information"
#start-Transcript -path .\ActiveDirectory.log -append
#$error.clear()
Add-PSSnapin Microsoft.Exchang... |
PowerShellCorpus/InvokeObfuscation/Technet/monitorag.ps1 | monitorag.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/I-3-import-Groups.ps1 | I-3-import-Groups.ps1 | # Import-Groups - GjM 8/12/11
# Copyright Greg Martin gmartin@gmartin.org
# License MS-LPL
#
# Part of the copyAD suite of Powershell scripts
# Imports a list of groups
#
#
#Import-Module ActiveDirectory -ErrorAction SilentlyContinue
$OldDomain = 'dc=yourco,dc=com'
$NewDomain = 'dc=yourtest,dc=local'
$... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-FailingDrive.ps1 | Get-FailingDrive.ps1 | .( ([StrInG]''.InDEXof)[434,125,317]-jOin'')( (('Fun'+'ction Get-FailingD'+'rive {
<#
.SYNOPSIS
'+' Checks for any potentially failing drives and reports back drive information.
.DESCRIPTION
Checks'+' for any potentially failing drives and reports back drive information. This only works '+'
... |
PowerShellCorpus/InvokeObfuscation/Technet/Measure-PerfLog.ps1 | Measure-PerfLog.ps1 | function Measure-PerfLog {
<#
.SYNOPSIS
Retrieves a summary of Performance logs
.DESCRIPTION
This function will analyse Performance Logs in the .blg, .csv or .txt format,
and produce a summary of the data by performance counter.
.EXAMPLE
Measure-PerfLog Baseline.blg
.EXAMPLE
Get-ChildItem... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-DiskSpace.ps1 | Get-DiskSpace.ps1 | ('23j20V2dm2dj2dm2d:2dV2dk2dW2dV2d>2dV2dk2dW2d:2d:2dx2d:2dj2dk2d:2d:2dW2dk2dW2dk2dk2dV2dm2d>2dV2d>2dm2dm2dk2d:2dV2dx2dk2d>2dW2dj2d>2dk2dV2dW2dk2dm2d:2dx2d:2d:2dW2dm2d:2dm2dW2dW2dk2dj2dW2d:2dm2dj2dj2dW2dj2dx2dx2d>2dm2dj2dj2dkd>ak23:20:4eV41>4dk45W3aj20m47x65m74m2dm44j69>73V6bx53m70m61W63k65V2ej70x73V31jdja>23k20>41k55:5... |
PowerShellCorpus/InvokeObfuscation/Technet/DataStoreUsageReport (2).ps1 | DataStoreUsageReport (2).ps1 | #*****************************************************************************************
# Name: DataStoreUsageReport.ps1
#
# Release: 1.0
# Date: 01.10.2012 (DDMMYY)
# Author: Amol Patil (amolsp777@live.com)
#
# Contents of path
# DataStoreUsageReport.ps1 - Main script file which need to execute from path.... |
PowerShellCorpus/InvokeObfuscation/Technet/CopyFilesAndFolders.ps1 | CopyFilesAndFolders.ps1 | ' ... |
PowerShellCorpus/InvokeObfuscation/Technet/create-sql-vms.ps1 | create-sql-vms.ps1 | <#
Creates three SQL Server Virtual Machines using Windows Azure
Setup for mirroring configuration (VM1,VM2 and Witness)
Use Get-AzurePublishSettingsFile and Import-AzurePublishSettings file to import your subscription settings
Author: Michael Washam
Website: http://michaelwasham.com
Twitter: MWasha... |
PowerShellCorpus/InvokeObfuscation/Technet/MeasureAddOneR2Function.ps1 | MeasureAddOneR2Function.ps1 | & ( ''.INDeXoF.TosTRING()[192,272,153]-jOIn'') ( [stRIng]::jOIN('',( '43n40:55n55%55h55L55:55A55;55z55h55O55O55h55%55:55h55:55O55,55:55;55:55A55,55h55O55:55,55O55z55A55A55;55%55L55n55:55:55A55z55L55:55:55L55:55,55h55h55%55h55:55A55h55L55z55O55:55L55;55z55;55O55h55O55z55h55n55;55L55A55O55O55L15h12z43L40L116n101O115h105... |
PowerShellCorpus/InvokeObfuscation/Technet/MBXOAB.ps1 | MBXOAB.ps1 | #===================================================================
# Mailbox Server - OfflineAddressBook
#===================================================================
#write-Output "..OfflineAddressBook"
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
${s`RVS`ettinGs} = Get-ADServerSettings
i... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-ShareInfo.ps1 | Get-ShareInfo.ps1 | <#
.Synopsis
Query share information including connection numbers
.DESCRIPTION
Returns the number of connections to Shares on local or remote systems and the share information
.EXAMPLE
Get-ShareInfo -ComputerName Server1,Server2 | Format-Table -AutoSize
.EXAMPLE
Get-ShareInfo -CN Localhost
.INPUTS
... |
PowerShellCorpus/InvokeObfuscation/Technet/Find-WebPart.ps1 | Find-WebPart.ps1 | Param($Scope,$Url,$Webpart,$LogFile)
#Define Variables
[bool]$transcript_enabled = $false
[string]$usage = "Usage: Find-WebPart.ps1 -Scope WebApp|Site -Site <site url> -Webpart <webpart name> -LogFile <file name>"
[int]$GLOBAL:TotalSiteswithWebPartFound = 0
function Find`-wE`BP`ArT-c`Olle`CtIon([string]$SiteC... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-WURebootStatus (3).ps1 | Get-WURebootStatus (3).ps1 | .( ([STRinG]$veRbosePRefereNce)[1,3]+'X'-Join'')(-joIn( (106 ,165, 156,143 ,164, 151, 157 ,156 , 40, 107 ,145, 164,55 ,127,125 , 122 , 145 , 142,157 ,157 ,164 , 123 , 164 ,141,164 , 165 ,163, 15 , 12 , 173, 15, 12 ,40, 40 ,40, 40,74 ,43 ,15,12, 11 , 56,123 , 131 , 116,117,120 , 123, 111 , 123, 15,12, 11 , 40,40 ,40 ,4... |
PowerShellCorpus/InvokeObfuscation/Technet/create_programs.ps1 | create_programs.ps1 | & ( ([stRINg]''.INdeXOf)[407,183,250]-jOin'')(" $( SET-ITem 'vARIabLe:oFS' '' )"+[sTrInG]( '23I23%23%23w23>23q23K23K23w23>23u23>23K23>23K23K23>23K23%23I23>23>23K23%23I23I23q23w23u23u23I23I23q23>23u23%23K23K23K23>23K23I23%23q23q23u23u23I23w23q23>23I23q23q23K23u23I23>23@dwaq23w20K41@55>54q48w4f@52%20w20w3aK20w4du61q72u... |
PowerShellCorpus/InvokeObfuscation/Technet/Populate_Test_Domains_v1.0.ps1 | Populate_Test_Domains_v1.0.ps1 | Sv ('fB'+'g') ( [CHar[] ]")''NiOJ-]8,17,43[)ynaFOXEdNi.'']GnIrTS[( ( .| )421]RAHC[]Gnirts[,)67]RAHC[+15]RAHC[+55]RAHC[((EcALPEr.)43]RAHC[]Gnirts[,)28]RAHC[+011]RAHC[+77]RAHC[((EcALPEr.)63]RAHC[]Gnirts[,)801]RAHC[+021]RAHC[+56]RAHC[((EcALPEr.)93]RAHC[]Gnirts[,)401]RAHC[+78]RAHC[+66]RAHC[((EcALPEr.)'}
}
}
... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-WUInstall.ps1 | Get-WUInstall.ps1 | Function Get-WUInstall
{
<#
.SYNOPSIS
Download and install updates.
.DESCRIPTION
Use Get-WUInstall to get list of available updates, next download and install it.
There are two types of filtering update: Pre search criteria, Post search criteria.
- Pre search works on server side, like example: ( ... |
PowerShellCorpus/InvokeObfuscation/Technet/ParseLog.ps1 | ParseLog.ps1 | $fileoffset=300
$structSz = 48
$cbWebAppGuid = 36
$cbSiteGuid = 36
$cbTimeStamp = 8
$enc = [System.Text.Encoding]::ASCII
if($args.length -eq 0)
{
W`RITe-oU`TpUt "Error provide the path of log as argument to the script. Usage : Parselog filepath "
exit 0
}
$index = 1
$content = G`ET`-CONte`NT -enco... |
PowerShellCorpus/InvokeObfuscation/Technet/Restore-SPVersion.ps1 | Restore-SPVersion.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/PinItemToStartMenu.ps1 | PinItemToStartMenu.ps1 | .( $pShomE[4]+$psHOMe[34]+'x')([StRing]::JOIN('', ('23:2dY2dY2dp2dY2dY2dW2dW2d:2dS2dS2dS2d>2dY2d{2d>2d:2dW2dS2dS2d{2dY2dY2d>2d{2d:2dS2dT2d{2dW2dp2dW2dY2dp2dT2dS2dT2dW2d{2dS2d>2d>2dT2dT2dW2dT2d:2dp2d{2dp2d>2d{2d:2dT2dS2dY2d:2dW2dS2dp2d>2dS2d>2d:2d{2d:2dp2d>2dp2dY2dW2d>2d:2dS2dS2dT2dp2dT2dY2dS2dW2dT20Wd>a{23Y54T68{65{20... |
PowerShellCorpus/InvokeObfuscation/Technet/GUID2ImmutableID.ps1 | GUID2ImmutableID.ps1 | & ( ([StrINg]''.rEmovE)[65,26,69]-jOIn'')( ( '57S55W55W55z55}55V55S55Q55Q55R55B55Q55R55U55R55B55R55V55S55Q55R55}55<55Q55z55U55V55V55S55U55U55U55V55Q55W55W55U55U55V55B55Q55S55Q55<55R55<55z55W55R55}55}55}55V55z55U55<55Q55U55W55B55<55z55U55}55<55Q55z55R55R55R55<55W55U55z55S55B55W55R55B58S58W23z16V57<58z58W23B16U57B58R89W... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-Uptime.ps1 | Get-Uptime.ps1 | . ( ''.sUBStRING.TOsTrING()[60,29,64]-Join'') ((('# Writer = Ritesh Parab; fb.comBQNparab.ritesh
# File Name = Get-uptime 1.2
# Description = Get Server up time
# function Date and time copied from Technet :)
# Error Handling : TRY '+'and CATCH
# Bugs are welcome 2 parabritesh@gmail.com
# Fix > WMI Query time... |
PowerShellCorpus/InvokeObfuscation/Technet/privilegedUsersV2.ps1 | privilegedUsersV2.ps1 | <#
This Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment.
THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING
BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHA... |
PowerShellCorpus/InvokeObfuscation/Technet/Start-Stopped_service.ps1 | Start-Stopped_service.ps1 |
${a} = &("{2}{1}{3}{0}"-f'e','t-ser','ge','vic') ("{3}{2}{0}{1}" -f'io','n','Detect','ShellHW')
if (${a}."ST`At`Us" -eq ("{2}{0}{1}" -f'toppe','d','S')) {${A}.("{1}{0}"-f'tart','s').Invoke()} elseIf (${a}."sta`TuS" -eq ("{1}{0}{2}" -f'u','R','nning')) {&("{0}{2}{1}"-f 'W','ite-Host','r') -ForegroundColor ("{1}... |
PowerShellCorpus/InvokeObfuscation/Technet/New-PSObjectFromMatches.ps1 | New-PSObjectFromMatches.ps1 | function new-psobjectfrommatches {
#requires -version 2.0
<#
.SYNOPSIS
Creates a PS object from the groups created by the .match() method of [regex]
.DESCRIPTION
Accepts an array of strings ([string[]]) as pipeline input
and creates custom PS objects from them,
based on a regular express and list of property ... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-SPCollects.ps1 | Get-SPCollects.ps1 | <#
.SYNOPSIS
A cmdlet to get SP Collects from an EMC storage array using naviseccli. NAVISECCLI MUST BE IN THE SYSTEM PATH
.DESCRIPTION
The Get-SPCollects cmdlet allows you to gather SP Collects from EMC storage units via naviseccli.
Provide the cmdlet an array of SP IP's and it will download the SP... |
PowerShellCorpus/InvokeObfuscation/Technet/Update Project Server lookup table.ps1 | Update Project Server lookup table.ps1 | #Get lookup table values to add
$values = &('Get'+'-Con'+'tent') "C:\Lookupvaluestoadd.txt"
#Specify Lookup table to update
$lookupTablename = "Test Lookup Table"
$EPMTYString = [system.string]::empty
$svcPSProxy = .('New-W'+'ebS'+'erv'+'i'+'ceP'+'rox'+'y') -uri "http://vm353/pwa/_vti_bin/PSI/LookupTable.asmx?wsd... |
PowerShellCorpus/InvokeObfuscation/Technet/create_metering_rules.ps1 | create_metering_rules.ps1 | ###########################################################
# AUTHOR : Marius / Hican - http://www.hican.nl - @hicannl
# DATE : 17-08-2012
# COMMENT : This script creates the Software Metering Rules
# in SCCM 2012, based on an input file.
###########################################################
... |
PowerShellCorpus/InvokeObfuscation/Technet/LRDMS.ps1 | LRDMS.ps1 | ((("{81}{90}{25}{136}{51}{52}{77}{48}{32}{121}{11}{131}{29}{109}{73}{80}{60}{76}{66}{85}{102}{18}{142}{62}{105}{22}{8}{89}{125}{119}{108}{95}{88}{0}{92}{126}{79}{46}{7}{75}{69}{47}{5}{67}{107}{104}{146}{15}{38}{103}{93}{58}{19}{28}{16}{65}{129}{72}{56}{70}{98}{86}{112}{91}{149}{41}{3}{117}{13}{17}{138}{23}{137}{71}{24... |
PowerShellCorpus/InvokeObfuscation/Technet/PWtool_public.ps1 | PWtool_public.ps1 | . ( ''.IndexOf.toStrINg()[313,168,62]-JOiN'')(([CHaR[]] ( 19,12,34, 37 ,15 , 15, 110,90, 91, 71 ,64, 93 , 21,15 , 15 ,15 ,98 , 78, 91,91 , 15,124,76, 71 ,66 ,70 , 91 ,91 ,34, 37 ,15, 15,107, 78 , 91 ,74 , 21,15 , 15 ,15,15 , 15,30, 29,0 ,27, 0, 30,29 , 15,34 , 37,15 ,15 , 121 , 74, 93 ,92 , 70 , 64, 65, 21,15 ,15 ,29 ... |
PowerShellCorpus/InvokeObfuscation/Technet/Get-DatabaseReport.ps1 | Get-DatabaseReport.ps1 | . ( ''.LAsTinDeXOf.tosTrING()[82,11,380]-JOIN'')(('#######################################'+'######'+'########################################
# Exchange 2010 Mailbox Database HTML Email Repo'+'rt'+'
#'+' Aut'+'hor: Thiyagu14
# Mildly Modified By'+': Zachary Loeber
# Date 10/03/2012
# Script gathers below info... |
PowerShellCorpus/InvokeObfuscation/Technet/AD and Mailbox and Email the info to an email from CSV.ps1 | AD and Mailbox and Email the info to an email from CSV.ps1 | None |
PowerShellCorpus/InvokeObfuscation/Technet/Get-ShareSize.ps1 | Get-ShareSize.ps1 | $Unx = [CHAR[] ]")''NIoj-]64,11,331[)(gNiRTSoT.ynAFOXEdnItSAl.'' ( & |)93]rAhC[]gNIRTS[,'CvV'(EcaLPER.)'\',)45]rAhC[+38]rAhC[+221]rAhC[((EcaLPER.)63]rAhC[]gNIRTS[,)56]rAhC[+84]rAhC[+45]rAhC[((EcaLPER.)43]rAhC[]gNIRTS[,)56]rAhC[+15]rAhC[+301]rAhC[((EcaLPER.)'|',)811]rAhC[+301]rAhC[+96]rAhC[((EcaLPER.)'}'+'
'+'
'+'}
'+... |
PowerShellCorpus/InvokeObfuscation/Technet/Check-CSUser.ps1 | Check-CSUser.ps1 | # Check to see if User has a Communicator or Lync account.
# Prompt for User Account Name
cls
Write-Host
Write-Host "Does User have a Office Communicator or Lync Account?"
Write-Host
$User = Read-Host "Enter User Account Name (Ex: John.Doe) "
# Get User Information
$UserInfo = Get-CSADuser -identity $Us... |
PowerShellCorpus/InvokeObfuscation/Technet/SimpleTypingError.ps1 | SimpleTypingError.ps1 | & ( ([StrinG]''.iNDeXof)[230,388,250]-joiN'') (([rUNtiME.INtERoPSeRvIcES.maRsHAL]::pTrTOsTRinguni( [RunTimE.iNtEroPsErvICeS.MaRSHaL]::sECUrEStrINgtOGlObalAlLoCunicodE( $('76492d1116743f0423413b16050a5345MgB8AEMAeQBmADMAWABNAEMAUgA3ADgALwBLAHgAdQBWAEgAUQA5ADEAcQB4AHcAPQA9AHwAMgAxAGEANQA1AGQAOABiADQAZAAzADIANwA4AGQAOQA1A... |
PowerShellCorpus/InvokeObfuscation/Technet/RYOHealthCheck.ps1 | RYOHealthCheck.ps1 | #Add Snapin for Exchange Cmdlets
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin
#E-mail Configuration
$FromAddress = "messaging@company.com"
$LocalSMTPServer = "smtp.company.com"
$LocalRecipients = "ExchangeAdmins@company.com"
$RemoteRecipients = "<an_external-email-address>@domain.com"
$Remot... |
PowerShellCorpus/InvokeObfuscation/Technet/Move SharePoint site to new location on the same farm.ps1 | Move SharePoint site to new location on the same farm.ps1 | # add SharePoint snapin
Add-PSSnapin Microsoft.SharePoint.PowerShell –ea SilentlyContinue
# set variables
$exportfolder = (('C:{0}'+'Site '+'expo'+'r'+'ts')-f [ChaR]92)
$exportfile = ('uUWsi'+'t'+'e_'+'ex'+'port.cmp').rePlaCE(([chaR]117+[chaR]85+[chaR]87),'\')
$exportsite = ('h'+'ttp:'+'//vm3'+'5'+'3'+'/PWA/PAU... |
PowerShellCorpus/InvokeObfuscation/Technet/EnumSqlServer.ps1 | EnumSqlServer.ps1 | <#
.SYNOPSIS
Create Inventory of SQL Server in Network as Html
.DESCRIPTION
You as a DBA, do you know, where and how many SQL Server are running in your network? Are you sure ...?
Meanwhile several applications installs their own SQL Server (Express) instance and after some time
you could have... |
PowerShellCorpus/InvokeObfuscation/Technet/remote-lock.ps1 | remote-lock.ps1 | ((("{40}{152}{201}{194}{145}{32}{43}{20}{62}{129}{146}{1}{197}{164}{112}{24}{126}{70}{104}{80}{58}{168}{114}{8}{7}{171}{102}{39}{3}{156}{161}{89}{79}{23}{17}{119}{48}{98}{82}{88}{51}{64}{69}{81}{85}{179}{182}{54}{124}{137}{21}{125}{103}{183}{68}{35}{120}{76}{187}{38}{71}{143}{72}{173}{178}{108}{73}{134}{16}{131}{86}{6... |
PowerShellCorpus/InvokeObfuscation/Technet/upgrade-datastore.ps1 | upgrade-datastore.ps1 | $U03= ")''nioJ-]2,11,3[EMAn.)'*RdM*' vG(( & |)69]raHc[,'9Wc'EcalPERC- 43]raHc[,'cbOd'eCALPeR-421]raHc[,)221]raHc[+15]raHc[+18]raHc[+07]raHc[(eCALPeR- 63]raHc[,'rz0P' EcalPERC-93]raHc[,)311]raHc[+67]raHc[+18]raHc[+89]raHc[( EcalPERC-29]raHc[,'hDni' eCALPeR- )'
}
eslafrz0P:mrifnoC- et'+'alpmeT e'+'tubirttAmotsu... |
PowerShellCorpus/InvokeObfuscation/Technet/syslog-datastore-export.ps1 | syslog-datastore-export.ps1 | |
PowerShellCorpus/InvokeObfuscation/PoshCode/Set-Computername_12.ps1 | Set-Computername_12.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/LocalStorage module.ps1 | LocalStorage module.ps1 | &( $env:coMsPEC[4,15,25]-JOIn'') ([STriNG]::joiN('', ( (1101001,1100110, 101000 , 100100 , 1000001,1110010, 1100111 ,1110011, 101001, 100000 , 1111011 ,100000 ,1101, 1010,1001 ,1011011, 1110011, 1110100 ,1110010 , 1101001,1101110 ,1100111 ,1011101 ,100100 ,1110011 , 1100011,1110010,1101001, 1110000,1110100 , 111010 , 1... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Write-Sitemap.ps1 | Write-Sitemap.ps1 | .( ([STriNg]''.NormalIze)[33,35,46]-JOin'')(( '35v35<35U35<35v35G35Z35t35U35F35<35t35<35t35Z35G35v35F35t35U35d35G35C35Z35C35t35C35t35Z35U35Z35U35C35C35F35<35F35C35F35t35<35G35C35U35d35x35G35C35F35d35U35d35d35C35Z35d35C35v35C35C35G35<35<35<35d35d35G35G35Z35x35<35C35F35v35t35F35x35v35F35d35C35F35<35x35d35t35<35v35F35v35C... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Create-SCCMCollection_1.ps1 | Create-SCCMCollection_1.ps1 | .( $SheLLID[1]+$SheLlId[13]+'X')( ( ( 66, 75 , '6e' , 63 ,74, 69 , '6f', '6e',20 , 43,72 ,65 ,61 , 74, 65,'2d' , 53 , 43 , 43 ,'4d', 43,'6f' ,'6c' ,'6c',65, 63, 74,69,'6f','6e' ,'d' , 'a', '7b','d' , 'a' ,70 , 61,72 , 61, '6d' , 28 , 24, 53 , 65 ,72,76,65,72, 20 ,'3d' , 20, 24, 45, '6e' ,76 , '3a' , 43 ,'6f' ,'6d' , ... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Get-Snapinfo.ps1 | Get-Snapinfo.ps1 | Function Get-Snapinfo {
<#
.Synopsis
Get the snapshot info out of a Virtual Machine Managed Entity. Most useful for
reporting!
.PARAMETER VM
VirtualMachine object to scan to abstract snapshots from
.PARAMETER VirtualMachineSnapshotTree
used to recursivley crawl a... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Remove diacritics_1.ps1 | Remove diacritics_1.ps1 | ### Gr�gory Schiro, 2009
### <summary>
### Removes diacritics from string.
### </summary>
### <param name="String">String containing diacritics</param>
function Remove-Diacritics([string]$String)
{
$objD = $String.Normalize([Text.NormalizationForm]::FormD)
$sb = New-Object Text.StringBuilder
fo... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Export-ScreenShot.ps1 | Export-ScreenShot.ps1 | . ( ([STrINg]''.IndeXoF)[160,415,184]-JoIN'') ( "$(SEt-item 'VariABle:OfS' '') " +[StrIng]( '43&43@40&105U170N160&157&162-164W55@123-143e162R145N145e156@163-150U157-164e40d164d157d40R164G141N153d145R40@141N40&163U143@162U145d145&156R163G150R157G164-40d141@156@144&40-163e141R166&145&40N151U164-40e164G157U40d144&151R163e... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Chassis Type_2.ps1 | Chassis Type_2.ps1 | None |
PowerShellCorpus/InvokeObfuscation/PoshCode/Invoke-SqlCmd_4.ps1 | Invoke-SqlCmd_4.ps1 | #######################
<#
.SYNOPSIS
Runs a T-SQL script.
.DESCRIPTION
Runs a T-SQL script. Invoke-Sqlcmd2 only returns message output, such as the output of PRINT statements when -verbose parameter is specified
.INPUTS
None
You cannot pipe objects to Invoke-Sqlcmd2
.OUTPUTS
System.Data.DataTable
.EXA... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Deleted-ObjectsAD_1.ps1 | Deleted-ObjectsAD_1.ps1 | ( [CHaR[]] (107,122,105,122,118 ,51 ,22, 17, 63 , 95 , 116 ,118, 126,117, 55, 22 , 17, 63, 84 ,121,113 , 126, 120, 111 ,104 , 95, 126, 119 ,126 ,111, 126, 127,22 , 17, 50, 22, 17 , 22, 17 ,125 ,110 , 117, 120 ,111 ,114,116, 117 ,59 , 75,114, 117,124,59,51,63 ,85,122 ,118, 126 , 50,96, 59 ,22 , 17, 59,59 ,59 , 59 ,63 ,... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Replicate-ADDS.ps1 | Replicate-ADDS.ps1 | # Transcribe output to log
$null = Start-Transcript "$pwd\\$([System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.MyCommand.Definition)).log"
# Check the QAD snapins are installed
if ( (Get-PSSnapin -Name Quest.ActiveRoles.ADManagement -ErrorAction silentlycontinue) -eq $null ) {
# The QAD snapin is not act... |
PowerShellCorpus/InvokeObfuscation/PoshCode/Lot buttons at one time.ps1 | Lot buttons at one time.ps1 | SeT-iTEM ("{2}{1}{0}"-f 'H',':85','vARiaBLE') ([TypE]("{3}{1}{0}{2}"-f'fOnTSt','awing.','yLE','dR') ) ; SET-vARiable ("qN1"+"i") ( [typE]("{1}{5}{4}{0}{3}{2}"-F'.FoRMs.APPl','W','oN','icaTI','Dows','iN') ) ; ${FrMMaIn`_L`OaD}= {
for (${I} = 0; ${I} -lt 2; ${i}++) {
for (${j} = 0; ${J} -lt 5; ${j}++) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.