• Home
  • Linux
  • Docker
  • Windows
    • PS
    • C#
    • Exchange Server
  • Other
    • Perl
    • IPV6
    • MacOS
  • DB
    • MSSQL
    • MariaDB
    • PG

Home

Сreate a bootable Windows 8 USB using Diskpart

Details
Written by: po3dno
Category: Other
Created: 01 October 2014
Hits: 1326

1. Press the Windows button and type CMD

How to create a bootable Windows 8 USB using Diskpart 1

2. Right-click on Command Prompt and at the bottom of the screen select Run as Administrator . If you don’t do this, you will get an Access Denied error when trying to run Diskpart.

How to create a bootable Windows 8 USB using Diskpart

3. You will receive a question from the Windows UAC if you want to allow Command Prompt to run. Press Yes

4. Type Diskpart and press ENTER

5. Type list disk and press ENTER  . This will list all the disks that is plugged in to your system.

6. Now you have to select the disk that you want to use as a bootable USB. It’s VERY IMPORTANT that you select the USB that you want to use and not for example the system disk. In my case, I want to select Disk 1, but definately not Disk 0 as it’s my system disk!

When you are sure what drive is your USB, type select disk <number> and press ENTER

7. The next step is to remove the partitions on the drive. As I mentioned before, make sure you have selected the correct disk!
Type clean and press ENTER

8. Now you need to create the primary partition by typing create partition primary and press ENTER

9. Select the partition you just created by typing select partition 1 and press ENTER

10. Type format fs=ntfs quick and press ENTER, to format the drive using NTFS and do a quick format.

10. Make the partition active. If you don’t do this, the USB won’t boot.
Type active and press ENTER,

11. Type assign and press ENTER,  to assign the drive the first available drive letter. The drive should now be available in  Windows Explorer.

12. Now go to your Windows 8 media, select all files and copy them over to your USB drive.

Copy Windows 8 media to bootable USB

Copy the Windows 8 media to your bootable Windows 8 USB

13. Plug in your new bootable Windows 8 USB to the system you want to install it on. Don’t forget to change the startup order in BIOS, so the USB drive is first in the order.

Now you’re done and you should be able to install Windows 8 from a USB!

Here are all the commands that you needed to type in earlier:

Diskpart

 

Windows shell commands to get system/process info

Details
Written by: po3dno
Category: Power Shell
Created: 15 September 2014
Hits: 1403

This file has 7 sections

1. A few examples showing Process information, mem usage, cpu, handles etc.., and altering processes

2. A few examples of retrieving system information (system, memory, drives, hardware)

3. A few examples of listing Services

4. A few examples of altering the state of services

5. A few examples on how to get network information

6. For reference: A very basic listing of some DOS (cmd) commands, for file, directory, or task management.

7. A few wellknown scanning/tracing tools

 

Read more …

Powershell post image

Details
Written by: po3dno
Category: Exchange Server
Created: 25 February 2014
Hits: 1509

param(

  [System.IO.FileInfo]$file = $null,

  [string]$login = $null

);

 

$CODEPAGE = "iso-8859-1";

 

$url_upload = "http://url/filepost.php";

Read more …

Права на редактирование группы рассылки

Details
Written by: po3dno
Category: Power Shell
Created: 25 February 2014
Hits: 1294

$list = Get-Content "distributiongroup.txt"

Foreach ($i in $list) {

  $i

  $grp = get-distributiongroup $i

  $manage = $grp.managedby

  $newuser = get-user USER

  $newmanage = $manage + $newuser

  Set-distributiongroup $grp -managedby $newmanage -bypasssecuritygroupmanagercheck

}

 

Структура AD из 1С

Details
Written by: po3dno
Category: Power Shell
Created: 20 February 2014
Hits: 1661

_Reference54 - таблица с отделами из 1С

 

param($department)

$connection = New-Object System.Data.SqlClient.SqlConnection

$connection.ConnectionString = "Server=sql-1c8;database=1c82zp-db;uid=user1c8;pwd="

$connection.Open()

 

# Выбираем нужные данные

$sqlstr = "SELECT r54.[_Code], r54._Description, r54_t._Code, r54_t._Description FROM [1c82zp].[dbo].[_Reference54] r54

JOIN [1c82zp].[dbo].[_Reference54] r54_t on r54._ParentIDRRef = r54_t.[_IDRRef]

WHERE r54._Marked = 0

ORDER BY r54._Code";

Read more …

  1. ACL AD OU
  2. Пользователи без фотографий в Outlook
  3. Удаляем отключенных пользователей из групп
  4. powershell POST multipart upload

Subcategories

Power Shell Article Count:  53

C# Article Count:  10

Perl Article Count:  1

Exchange Server Article Count:  15

Other Article Count:  24

MSSQL Article Count:  17

Windows Article Count:  25

MariaDB Article Count:  3

Linux Article Count:  8

Docker Article Count:  2

pg Article Count:  2

Page 25 of 32

  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29

Login Form

  • Forgot your password?
  • Forgot your username?

Statistics

  • Users 2
  • Articles 176
  • Articles View Hits 157832