Upload local file to Azure File Share via Power Shell

Want to upload a log file to your cloud storage? Here is a quick and easy way to do it via Power Shell.


$AccountName = "YOURACCOUNTNAMEHERE"
$AccountKey = "YOURACCESSKEYHERE"
$Context01 = New-AzureStorageContext -StorageAccountKey $AccountKey -StorageAccountName $AccountName
Set-AzureStorageFileContent -ShareName backups -Source "C:\file.log" -Path "DestinationFile.Name" -Context $Context01

Networking not working after Windows 10 Update (version 1511, build 10586.3)

My device:  Lenovo ThinkPad Yogo 2

After applying the latest Windows 10, update, version 1511, build 10586.3, all of my networking was jacked up. I was unable to connect to any wireless networks (showed a small amount of sent packets, 0 received, and great single strength). I attempted to uninstall the device from device manager and when I rebooted the device reinstalled, but still nothing worked.

When I got home I attempted to use my USB Ethernet adapter and even that didn’t work.

The Solution

NOTE: Following the procedure below will reset all networking. This includes Hyper-V and VPN interfaces. (My Cisco VPN client rebuilt everything automatically when I attempted to connect).

Run “netcfg -d” from an admin command prompt, then reboot and reconfigure networking.

Microsoft Windows [Version 10.0.10586]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>netcfg -d
SetupDiCallClassInstaller Erorr: 0x6
SetupDiCallClassInstaller Erorr: 0x6
SetupDiCallClassInstaller Erorr: 0x6
SetupDiCallClassInstaller Erorr: 0x6
SetupDiCallClassInstaller Erorr: 0x6
SetupDiCallClassInstaller Erorr: 0x6
SetupDiCallClassInstaller Erorr: 0x6
SetupDiCallClassInstaller Erorr: 0x6
NetSetup object deleted successfully on MUX
Successfully commited changes to the registry
Successfully commited changes to the registry
We are going to reboot now to complete the clean up. Save all of your work.
Press any key to continue…

Need to check your windows version?

  1. Start menu
  2. type “about your pc”
  3. press enter

Capture

 

 

References:

  • http://windows.microsoft.com/en-us/windows/which-operating-system
  • http://windows.microsoft.com/en-us/windows-10/fix-network-connection-issues