> PowerShell provides direct access to [nearly?] the entire Windows OS
PS has access to the .NET Framework which abstracts the OS APIs, not really to Windows directly.
There's also chatter that MS is already working on porting PowerShell to CoreCLR/.NET Core (the cross-plat, open-source version of .NET).