Title: Convert-UrnToPath (SqlServer) - SQL Server PowerShell | Microsoft Learn
Open Graph Title: Convert-UrnToPath (SqlServer) - SQL Server PowerShell
Description: The Convert-UrnToPath cmdlet converts a SQL Server Management Object Uniform Resource Name (URN) to a SQL Server provider path. SQL Server Management Objects have a Urn property that returns a string indicating their location in the SQL Server object hierarchy. If nodes in the Urn are SQL Server delimited identifiers with extended characters that are not supported in Windows PowerShell path nodes, the extended characters are encoded with their hexadecimal representation. For example, a table name "Main:Table" is encoded as "Main:Table".
Open Graph Description: The Convert-UrnToPath cmdlet converts a SQL Server Management Object Uniform Resource Name (URN) to a SQL Server provider path. SQL Server Management Objects have a Urn property that returns a string indicating their location in the SQL Server object hierarchy. If nodes in the Urn are SQL Server delimited identifiers with extended characters that are not supported in Windows PowerShell path nodes, the extended characters are encoded with their hexadecimal representation. For example, a table name "Main:Table" is encoded as "Main:Table".
Opengraph URL: https://learn.microsoft.com/en-us/powershell/module/sqlserver/convert-urntopath?view=sqlserver-ps
Domain: docs.microsoft.com
| color-scheme | light dark |
| twitter:card | summary_large_image |
| og:type | website |
| og:image:alt | Microsoft Learn |
| og:image | https://learn.microsoft.com/en-us/media/open-graph-image.png |
| platform_id | 68f80b92-2dc0-fafb-512f-7b1742573989 |
| locale | en-us |
| uhfHeaderId | MSDocsHeader-DocsSQL |
| page_type | powershell |
| uid | SqlServer.Convert-UrnToPath |
| module | SqlServer |
| schema | PowerShellCmdlet1 |
| apiPlatform | powershell |
| breadcrumb_path | /powershell/sql-server/bread/toc.json |
| feedback_help_link_type | get-help-at-qna |
| feedback_help_link_url | https://learn.microsoft.com/answers/tags/191/sql-server |
| feedback_product_url | https://feedback.azure.com/d365community/forum/04fe6ee0-3b25-ec11-b6e6-000d3a4f0da0 |
| feedback_system | Standard |
| ms.devlang | powershell |
| ms.service | sql |
| ms.subservice | sql-server-powershell |
| ms.tgt_pltfr | windows, macos, linux |
| recommendations | true |
| toc_preview | true |
| author | Matteo-T |
| ms.author | matteot |
| ms.reviewer | maghan |
| ms.topic | reference |
| document type | cmdlet |
| external help file | Microsoft.SqlServer.Management.PSProvider.dll-Help.xml |
| HelpUri | https://learn.microsoft.com/powershell/module/sqlserver/convert-urntopath |
| Locale | en-US |
| Module Name | SqlServer |
| ms.date | 2025-05-30T00:00:00Z |
| PlatyPS schema version | 2024-05-01T00:00:00Z |
| document_id | 7857ec7a-4557-7aef-ad70-80e1e359372e |
| document_version_independent_id | b34b704e-5a43-be95-633a-e02bc97ccd19 |
| updated_at | 2025-06-20T17:32:00Z |
| original_content_git_url | https://github.com/MicrosoftDocs/sql-docs-powershell/blob/live/sqlserver-ps/SqlServer/Convert-UrnToPath.md |
| gitcommit | https://github.com/MicrosoftDocs/sql-docs-powershell/blob/708627b4c8cec829516b8fe7f67f5aec0d44917c/sqlserver-ps/SqlServer/Convert-UrnToPath.md |
| git_commit_id | 708627b4c8cec829516b8fe7f67f5aec0d44917c |
| monikers | sqlserver-ps |
| default_moniker | sqlserver-ps |
| site_name | Docs |
| depot_name | MSDN.sqlserver-psdocs |
| in_right_rail | h2h3 |
| page_kind | command |
| toc_rel | ../sqlserver-ps/toc.json |
| config_moniker_range | sqlserver-ps |
| asset_id | module/sqlserver/convert-urntopath |
| moniker_range_name | 3c94fb3492b8fca83a3c187753cfdf2d |
| item_type | Content |
| source_path | sqlserver-ps/SqlServer/Convert-UrnToPath.md |
| github_feedback_content_git_url | https://github.com/MicrosoftDocs/sql-docs-powershell/blob/live/sqlserver-ps/SqlServer/Convert-UrnToPath.md |
| markdown_url | https://learn.microsoft.com/en-us/powershell/module/sqlserver/convert-urntopath?view=sqlserver-ps&accept=text/markdown |
| cmProducts | https://authoring-docs-microsoft.poolparty.biz/devrel/cbe4ca68-43ac-4375-aba5-5945a6394c20 |
| spProducts | https://authoring-docs-microsoft.poolparty.biz/devrel/ced846cc-6a3c-4c8f-9dfb-3de0e90e2742 |
Links:
Viewport: width=device-width, initial-scale=1.0