Disk Part for Windows 7 and 10

The diskpart utility it’s a command line utility (available in Windows 2000, XP, Vista, 7, 8, 8.1 and 10) can be used to create or delete partitions on your PC.
Open command prompt with administrative privilege. Click Start , type CMD , right click "open as an Administrator" . On command prompt, type diskpart . When utility is open , type list disk for list of all disk available. select disk "number" where "number" is hard disk you want use , for example select disk 2 and type Enter . after that, type command clean for delete any partitions on hard disk selected .

 

How to Remove Windows 10 Built-in Apps with PowerShell

With PowerShell . In a easy way we can uninstall applications installed on Windows 10

click to Start button or Cortana search bar and type PowerShell
Right click on PowerShell icon and Select "Run as Administrator"

Some buit-in apps, like Contacts, are integrated on Microsoft Windows 10 operating system and is not permitted remove it.

copy and paste on PowerShell Command below

3D Builder
Get-AppxPackage *3dbuilder* | Remove-AppxPackage

Alarms and Clock
Get-AppxPackage *windowsalarms* | Remove-AppxPackage

Calculator
Get-AppxPackage *windowscalculator* | Remove-AppxPackage

Calendar and Mail
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage

Camera
Get-AppxPackage *windowscamera* | Remove-AppxPackage

Get Office
Get-AppxPackage *officehub* | Remove-AppxPackage

Get Skype
Get-AppxPackage *skypeapp* | Remove-AppxPackage

Get Started
Get-AppxPackage *getstarted* | Remove-AppxPackage

Groove Music
Get-AppxPackage *zunemusic* | Remove-AppxPackage

Maps
Get-AppxPackage *windowsmaps* | Remove-AppxPackage

Microsoft Solitaire Collection
Get-AppxPackage *solitairecollection* | Remove-AppxPackage

Money
Get-AppxPackage *bingfinance* | Remove-AppxPackage

Movies & TV
Get-AppxPackage *zunevideo* | Remove-AppxPackage

News
Get-AppxPackage *bingnews* | Remove-AppxPackage

OneNote
Get-AppxPackage *onenote* | Remove-AppxPackage

People
Get-AppxPackage *people* | Remove-AppxPackage

Phone Companion
Get-AppxPackage *windowsphone* | Remove-AppxPackage

Photos
Get-AppxPackage *photos* | Remove-AppxPackage

Store
Get-AppxPackage *windowsstore* | Remove-AppxPackage

Sports
Get-AppxPackage *bingsports* | Remove-AppxPackage

Voice Recorder
Get-AppxPackage *soundrecorder* | Remove-AppxPackage

Weather
Get-AppxPackage *bingweather* | Remove-AppxPackage

Xbox
Get-AppxPackage *xboxapp* | Remove-AppxPackage

-------------------------------------------------------------------------

Remove all applications and mantain Calculator:
Get-AppxPackage -AllUsers | where-object {$_.name –notlike “*windowscalculator*”} | Remove-AppxPackage

Get-appxprovisionedpackage –online | where-object {$_.packagename –notlike “*windowscalculator*”} | Remove-AppxProvisionedPackage -online

Source
https://community.spiceworks.com/topic/1408834-removing-windows-10-apps-gpo

Matty_C

 

Upgrade to Windows 10 from Windows 7

Today you can again update your operating system and passing from Windows 7 Pro or Windows 8.1 Pro to Windows 10 Pro, free of charge.

You need only download Media Creator Tool directly from Microsoft website , run the tool and select "update Windows 10" instead of "Using the tool to create installation media (USB flash drive, DVD, or ISO file) to install Windows 10 on a different PC"

Instructions from Microsoft website:
1. Select Download tool, and select Run. You need to be an administrator to run this tool.
2. On the License terms page, if you accept the license terms, select Accept.
3. On the What do you want to do? page, select Upgrade this PC now, and then select Next.
4 .After downloading and installing, the tool will walk you through how to set up Windows 10 on your PC. All Windows 10 editions are available when you select Windows 10, except for Enterprise edition. For more information on Enterprise edition, go to the Volume Licensing Service Center.

Requirements:
regoular Microsoft Windows 7 Professional - Windows 8 Professional activated.

At the end of the process, you can find Windows 10 Professional license activated

How to create a virtual machine in Hyper-V

From Microsoft Website:

Create a virtual machine by using Hyper-V Manager

  1. Open Hyper-V Manager.
  2. From the Action pane, click New, and then click Virtual Machine.
  3. From the New Virtual Machine Wizard, click Next.
  4. Make the appropriate choices for your virtual machine on each of the pages. For more information, see New virtual machine options and defaults in Hyper-V Manager later in this topic.
  5. After verifying your choices in the Summary page, click Finish.
  6. In Hyper-V Manager, right-click the virtual machine and select connect.
  7. In the Virtual Machine Connection window, select Action > Start.

Create a virtual machine by using Windows PowerShell

  1. On the Windows desktop, click the Start button and type any part of the name Windows PowerShell.
  2. Right-click Windows PowerShell and select Run as administrator.
  3. Get the name of the virtual switch that you want the virtual machine to use by using Get-VMSwitch. For example,
    Get-VMSwitch  * | Format-Table Name  
    
  4. Use the New-VM cmdlet to create the virtual machine. See the following examples.

     Note

    If you may move this virtual machine to a Hyper-V host that runs Windows Server 2012 R2, use the -Version parameter with New-VM to set the virtual machine configuration version to 5. The default virtual machine configuration version for Windows Server 2016 isn't supported by Windows Server 2012 R2 or earlier versions. You can't change the virtual machine configuration version after the virtual machine is created. For more information, see Supported virtual machine configuration versions.

    • Existing virtual hard disk - To create a virtual machine with an existing virtual hard disk, you can use the following command where,
      • -Name is the name that you provide for the virtual machine that you're creating.
      • -MemoryStartupBytes is the amount of memory that is available to the virtual machine at start up.
      • -BootDevice is the device that the virtual machine boots to when it starts like the network adapter (NetworkAdapter) or virtual hard disk (VHD).
      • -VHDPath is the path to the virtual machine disk that you want to use.
      • -Path is the path to store the virtual machine configuration files.
      • -Generation is the virtual machine generation. Use generation 1 for VHD and generation 2 for VHDX. See Should I create a generation 1 or 2 virtual machine in Hyper-V?.
      • -Switch is the name of the virtual switch that you want the virtual machine to use to connect to other virtual machines or the network. See Create a virtual switch for Hyper-V virtual machines.
        New-VM -Name <Name> -MemoryStartupBytes <Memory> -BootDevice <BootDevice> -VHDPath <VHDPath> -Path <Path> -Generation <Generation> -Switch <SwitchName>  
        

        For example:

        New-VM -Name Win10VM -MemoryStartupBytes 4GB -BootDevice VHD -VHDPath .\VMs\Win10.vhdx -Path .\VMData -Generation 2 -Switch ExternalSwitch  
        

        This creates a generation 2 virtual machine named Win10VM with 4GB of memory. It boots from the folder VMs\Win10.vhdx in the current directory and uses the virtual switch named ExternalSwitch. The virtual machine configuration files are stored in the folder VMData.

    • New virtual hard disk - To create a virtual machine with a new virtual hard disk, replace the -VHDPath parameter from the example above with -NewVHDPath and add the -NewVHDSizeBytes parameter. For example,
      New-VM -Name Win10VM -MemoryStartupBytes 4GB -BootDevice VHD -NewVHDPath .\VMs\Win10.vhdx -Path .\VMData -NewVHDSizeBytes 20GB -Generation 2 -Switch ExternalSwitch  
      
    • New virtual hard disk that boots to operating system image - To create a virtual machine with a new virtual disk that boots to an operating system image, see the PowerShell example in Create virtual machine walkthrough for Hyper-V on Windows 10.
  5. Start the virtual machine by using the Start-VM cmdlet. Run the following cmdlet where Name is the name of the virtual machine you created.
    Start-VM -Name <Name>  
    

    For example:

    Start-VM -Name Win10VM  
    
  6. Connect to the virtual machine by using Virtual Machine Connection (VMConnect).
    VMConnect.exe  
    

Options in Hyper-V Manager New Virtual Machine Wizard

The following table lists the options you can pick when you create a virtual machine in Hyper-V Manager and the defaults for each.

PageDefault for Windows Server 2016 and Windows 10Other options
Specify Name and LocationName: New Virtual Machine.

Location:C:\ProgramData\Microsoft\Windows\Hyper-V\.

You can also enter your own name and choose another location for the virtual machine.

This is where the virtual machine configuration files will be stored.

Specify GenerationGeneration 1You can also choose to create a Generation 2 virtual machine. For more information, see Should I create a generation 1 or 2 virtual machine in Hyper-V?.
Assign MemoryStartup memory: 1024 MB

Dynamic memory: not selected

You can set the startup memory from 32MB to 5902MB.

You can also choose to use Dynamic Memory. For more information, see Hyper-V Dynamic Memory Overview.

Configure NetworkingNot connectedYou can select a network connection for the virtual machine to use from a list of existing virtual switches. See Create a virtual switch for Hyper-V virtual machines.
Connect Virtual Hard DiskCreate a virtual hard disk

Name: <vmname>.vhdx

LocationC:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\

Size: 127GB

You can also choose to use an existing virtual hard disk or wait and attach a virtual hard disk later.
Installation OptionsInstall an operating system laterThese options change the boot order of the virtual machine so that you can install from an .iso file, bootable floppy disk or a network installation service, like Windows Deployment Services (WDS).
SummaryDisplays the options that you have chosen, so that you can verify they are correct.

- Name
- Generation
- Memory
- Network
- Hard Disk
- Operating System

Tip: You can copy the summary from the page and paste it into e-mail or somewhere else to help you keep track of your virtual machines.

How to create a virtual switch for hyper-v virtual machines

From Microsoft Website:

Create a virtual switch by using Hyper-V Manager

  1. Open Hyper-V Manager, select the Hyper-V host computer name.
  2. Select Action > Virtual Switch Manager.Screenshot that shows the menu option Action > Virtual Switch Manager
  3. Choose the type of virtual switch you want.
    Connection typeDescription
    ExternalGives virtual machines access to a physical network to communicate with servers and clients on an external network. Allows virtual machines on the same Hyper-V server to communicate with each other.
    InternalAllows communication between virtual machines on the same Hyper-V server, and between the virtual machines and the management host operating system.
    PrivateOnly allows communication between virtual machines on the same Hyper-V server. A private network is isolated from all external network traffic on the Hyper-V server. This type of network is useful when you must create an isolated networking environment, like an isolated test domain.
  4. Select Create Virtual Switch.
  5. Add a name for the virtual switch.
  6. If you select External, choose the network adapter (NIC) that you want to use and any other options described in the following table.

Screenshot that shows the external network options

Setting nameDescription
Allow management operating system to share this network adapterSelect this option if you want to allow the Hyper-V host to share the use of the virtual switch and NIC or NIC team with the virtual machine. With this enabled, the host can use any of the settings that you configure for the virtual switch like Quality of Service (QoS) settings, security settings, or other features of the Hyper-V virtual switch.
Enable single-root I/O virtualization (SR-IOV)Select this option only if you want to allow virtual machine traffic to bypass the virtual machine switch and go directly to the physical NIC. For more information, see Single-Root I/O Virtualization in the Poster Companion Reference: Hyper-V Networking.

If you want to isolates network traffic from the management Hyper-V host operating system or other virtual machines that share the same virtual switch, select Enable virtual LAN identification for management operating system. You can change the VLAN ID to any number or leave the default. This is the virtual LAN identification number that the management operating system will use for all network communication through this virtual switch.Screenshot that shows the VLAN ID options

Click OK.

Click Yes.

Screenshot that shows the "Pending changes may disrupt network connectivity" message

Create a virtual switch by using Windows PowerShell

  1. On the Windows desktop, click the Start button and type any part of the name Windows PowerShell.
  2. Right-click Windows PowerShell and select Run as Administrator.
  3. Find existing network adapters by running the Get-NetAdapter cmdlet. Make a note of the network adapter name that you want to use for the virtual switch.
    Get-NetAdapter  
    
  4. Create a virtual switch by using the New-VMSwitch cmdlet. For example, to create an external virtual switch named ExternalSwitch, using the ethernet network adapter, and with Allow management operating system to share this network adapter turned on, run the following command.
    New-VMSwitch -name ExternalSwitch  -NetAdapterName Ethernet -AllowManagementOS $true  
    

    To create an internal switch, run the following command.

    New-VMSwitch -name InternalSwitch -SwitchType Internal  
    

    To create an private switch, run the following command.

    New-VMSwitch -name PrivateSwitch -SwitchType Private  
    

For more advanced Windows PowerShell scripts that cover improved or new virtual switch features in Windows Server 2016, see Remote Direct Memory Access and Switch Embedded Teaming.

Add Hyper-v role on Microsoft Windows Server 2016

Instructions from Microsoft Website:

Install Hyper-V by using Server Manager

  1. In Server Manager, on the Manage menu, click Add Roles and Features.
  2. On the Before you begin page, verify that your destination server and network environment are prepared for the role and feature you want to install. Click Next.
  3. On the Select installation type page, select Role-based or feature-based installation and then click Next.
  4. On the Select destination server page, select a server from the server pool and then click Next.
  5. On the Select server roles page, select Hyper-V.
  6. To add the tools that you use to create and manage virtual machines, click Add Features. On the Features page, click Next.
  7. On the Create Virtual Switches page, Virtual Machine Migration page, and Default Stores page, select the appropriate options.
  8. On the Confirm installation selections page, select Restart the destination server automatically if required, and then click Install.

  9. When installation is finished, verify that Hyper-V installed correctly. Open the All Servers page in Server Manager and select a server on which you installed Hyper-V. Check the Roles and Features tile on the page for the selected server.

Install Hyper-V by using the Install-WindowsFeature cmdlet

  1. On the Windows desktop, click the Start button and type any part of the name Windows PowerShell.
  2. Right-click Windows PowerShell and select Run as Administrator.
  3. To install Hyper-V on a server you're connected to remotely, run the following command and replace <computer_name> with the name of server.

    PowerShell
    Install-WindowsFeature -Name Hyper-V -ComputerName <computer_name> -IncludeManagementTools -Restart  
    

    If you're connected locally to the server, run the command without -ComputerName <computer_name>.

  4. After the server restarts, you can see that the Hyper-V role is installed and see what other roles and features are installed by running the following command:
    PowerShell
    Get-WindowsFeature -ComputerName <computer_name>  
    

    If you're connected locally to the server, run the command without -ComputerName <computer_name>.