you have applications that would run in Azure that use file server. Id start out by asking if you want to continue to use as files in Azure. Azure File Sync provides bi-directional sync between 1-n file servers and Azure File Shares. There’s one caveat: If you have some commands in your profile that only work on one version of PowerShell, they’ll fail when your start the other version where the commands aren’t supported. If you can use a File Share (Azure Files) instead of Blobs then Azure File Sync might address this need. This ensures you’re using a single PowerShell profile for both versions of PowerShell. #Powershell sync folders windowsIf you’re using both Windows PowerShell 5.11 and PowerShell 7.x, you can create both links and point them to the same folder on OneDrive. New-Item -ItemType SymbolicLink -Path C:\users\\Documents\ PowerShell -Target C:\Bharat\OneDrive\WindowsPowerShell New-Item -ItemType SymbolicLink -Path C:\users\\Documents\ WindowsPowerShell -Target C:\Bharat\OneDrive\WindowsPowerShell Create a symbolic link Create a symbolic link called WindowsPowerShell (PowerShell 5.11) or PowerShell (PS 7.x) in the Documents folder and point it to the WindowsPowerShell folder in your OneDrive folder.If you have a WindowsPowerShell folder (or PowerShell folder if you’re using PowerShell 7.x), rename it to something like WindowsPowerShell-BAK. Rename the WindowsPowerShell folder in your user profile Check the Documents folder in your profile (typically C:\users\\Documents).I change mine to a root level folder (for example: C:\Bharat\OneDrive) to make it easier to type. Create a WindowsPowerShell folder on OneDrive Navigate to the new OneDrive folder (the cached copy on your local drive) and create a WindowsPowerShell folder here.īy default, the OneDrive app synchronizes your data to the OneDrive folder in your user profile (Default: C:\users\\OneDrive). #Powershell sync folders installIf you’re running an older version of Windows, download and install it. #Powershell sync folders windows 10
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |