Nick,
Do a Goggle search, "30th Virginia Battalion Sharpshooters"
You'll find there is a book available of that title in the Virginia Regimental History series.
I have access to their regimental roster and could do look ups for you.
Below I copy their regimental assignments. Sorry for the format in which it copied.
Serving in the Valley District under Breckenridge & Wharton, they were indeed at Cedar Creek.
George Martin
Sparks, NV
Regimental Asssignments
30th VA Sharpshooters Battalion
Organized: on 9/1/62
Mustered Out: 3/2/65 at Waynesborough, NC
From
To
Brigade
Division
Corps
Army
Comment
Sep '62
Sep '62
Wharton's
Dept of Southwestern Virginia
Dec '62
Dec '62
Unattached
Elzey's
Dept of North Carolina
Dec '62
Dec '62
Colston's
Elzey's
Dept of North Carolina
Dec '62
Feb '63
Colston's/Pryor's
French's
Dept of North Carolina and South Virginia
Apr '63
Oct '63
Wharton's
Dept of Western Virginia
Oct '63
Nov '63
Wharton's
Ransom's
Dept of Western Virginia and East Tennessee
Nov '63
Mar '64
Wharton's
Ransom's
Dept of East Tennessee
Mar '64
May '64
Wharton's
Dept of Western Virginia
May '64
Jun '64
Wharton's
Breckinridge's
Army of Northern Virginia
Jun '64
Mar '65
Wharton's
Breckinridge's/Wharton's
Valley District
Dept of Northern Virginia