POST POST

FEB
16
2022

Installing the AzFilesHybrid PowerShell Module

ORIGINALLY POSTED TO: https://blog.simontimms.com/2022/02/16/install-azfileshybrid-powershell

If you don't do a lot of powershell then the instructions on how to install the AzFilesHybrid module can be lacking. Here is how to do it

  1. Download the module from https://github.com/Azure-Samples/azure-files-samples/releases
  2. Unzip the file downloaded in step 1
  3. Go into the folder and run the copy command
1
./CopyToPSPath.ps1
  1. Install the module with
1
Install-Module -Name AzFilesHybrid -Force

With this module installed you can then run things like Join-AzStorageAccount to get a fileshare joined to the domain

1
Join-AzStorageAccount -ResourceGroupName "rg-azfileshare" -StorageAccountName "sa-azfileshare" -DomainName "somedomain.com" -DomainUserName "jane" -DomainUserPassword "password"

Simon Timms

Email Email
Web Web
Twitter Twitter
GitHub GitHub
RSS

Looking for someone else?

You can find the rest of the Western Devs Crew here.

© 2015 Western Devs. All Rights Reserved. Design by Karen Chudobiak, Graphic Designer