November 2018
Intermediate to advanced
566 pages
17h 15m
English
The assumption here is that each row has 40 seats, and that the aisle goes through the center of the hall. Follow these steps to get started:
PS> @' Name,Seat Mr Jain,A-12 Mr Jacobs,C-28 Ms Sanders,B-17 Mr Shah,M-22 Mr Hugo,E-08 '@ | Out-File -Path './ch07/05-Write-GuestSeatDetails.csv'
$Guests = Import-Csv './ch07/05-Write-GuestSeatDetails.csv'
foreach ($Guest in $Guests) { $RowIdentifier = [byte][char](($Guest.Seat -split '-')[0].ToUpper()) $RowNumber = ($RowIdentifier ...Read now
Unlock full access