Get-AzSupportFilesNoSubscription
Returns details of a specific file in a work space.
Syntax
List (Default)
Get-AzSupportFilesNoSubscription
-FileWorkspaceName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityFileWorkspace
Get-AzSupportFilesNoSubscription
-FileName <String>
-FileWorkspaceInputObject <ISupportIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzSupportFilesNoSubscription
-FileName <String>
-FileWorkspaceName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzSupportFilesNoSubscription
-InputObject <ISupportIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Returns details of a specific file in a work space.
Examples
Example 1: List all files from a file workspace
Get-AzSupportFilesNoSubscription -WorkspaceName "testworkspace"
Name CreatedOn ChunkSize FileSize
---- --------- --------- --------
test.txt 2/9/2024 3:53:15 PM 4 4
test2.txt 2/9/2024 3:53:29 PM 4 4
Lists all the Files information under a workspace
Example 2: Get details of a file in a file workspace
Get-AzSupportFilesNoSubscription -Name "test.txt" -WorkspaceName "testworkspace"
ChunkSize : 4
CreatedOn : 2/9/2024 3:53:15 PM
FileSize : 4
Id : /providers/Microsoft.Support/fileWorkspaces/testworkspace/files/test.txt
Name : test.txt
NumberOfChunk : 1
ResourceGroupName :
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Type : Microsoft.Support/files
Returns details of a specific file in a workspace.
Example 3: List all files from a support ticket
Get-AzSupportFilesNoSubscription -WorkspaceName "2402084010005835"
Name CreatedOn ChunkSize FileSize
---- --------- --------- --------
test.txt 2/9/2024 3:53:15 PM 4 4
test2.txt 2/9/2024 3:53:29 PM 4 4
Lists all the Files information under a support ticket.
Example 2: Get details of a file under a support ticket
Get-AzSupportFilesNoSubscription -Name "test.txt" -WorkspaceName "2402084010005835"
ChunkSize : 4
CreatedOn : 2/9/2024 3:53:15 PM
FileSize : 4
Id : /providers/Microsoft.Support/fileWorkspaces/2402084010005835/files/test.txt
Name : test.txt
NumberOfChunk : 1
ResourceGroupName :
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Type : Microsoft.Support/files
Returns details of a specific file under a support ticket.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: | PSObject |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzureRMContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-FileName
File Name
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | Name |
Parameter sets
GetViaIdentityFileWorkspace
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
Get
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-FileWorkspaceInputObject
Identity Parameter
Parameter properties
Type: | ISupportIdentity |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
GetViaIdentityFileWorkspace
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-FileWorkspaceName
File Workspace Name
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | WorkspaceName |
Parameter sets
List
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
Get
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-InputObject
Identity Parameter
Parameter properties
Type: | ISupportIdentity |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
GetViaIdentity
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.