Link to home
Start Free TrialLog in
Avatar of qvfps
qvfps

asked on

Basic Powershell question

I am trying to create a script in PowerShell and I am running into issues access the information I want.   

I have tables in AzureStorage I am using as input.  

Table1 has the following columns

CustName, CustID, AppID, CustAbbr  


I can retrieve the table using

$customers = Get-AzTableRow -table $custTable


I am having issues accessing the individual objects I want from $customers.  

how do I access the information (CustName, AppID,CustAbbr) for  for a specific CustID?

I know I can walk through them using ForEach but there has to be an easier way to get the CustName and AppID for the customer with CustID=85


ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial