This site uses cookies for analytics, personalized content. By continuing to browse this site, you agree to this use. Learn More

Skip to main content
Microsoft
PowerShell Community
PowerShell Community
  • Home
  • DevBlogs
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • DevOps
    • Developer support
    • CSE Developer
    • Azure SDK
    • IoT
    • Command Line
    • Perf and Diagnostics
    • Dr. International
    • Notification Hubs
    • Math in Office
    • DirectX
    • PIX
    • SurfaceDuo
    • Startups
    • Sustainable Engineering
    • C++
    • Java
    • Java Blog in Chinese
    • JavaScript
    • PowerShell Community
    • PowerShell Team
    • Python
    • Q#
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • ASP.NET
    • NuGet
    • Xamarin
    • #ifdef Windows
    • Apps for Windows
    • Azure Depth Platform
    • Azure Government
    • Bing Dev Center
    • Microsoft Edge Dev
    • Microsoft Azure
    • Office 365 Development
    • Old New Thing
    • Windows MIDI and Music dev
    • Windows Search Platform
    • Azure Cosmos DB
    • Azure Data Studio
    • Azure SQL
    • OData
    • Revolutions R
    • SQL Server Data Tools
Faris Malaeb

Faris Malaeb

Post by this author

Using Get-Service in PowerShell 7 vs. Windows PowerShell 5.1
Using Get-Service in PowerShell 7 vs. Windows PowerShell 5.1
February 23rd, 2021
Q: How can I get the Username, and StartType for a Windows Service? A: Quick answer is PowerShell 7. Microsoft is doing a great job on PowerShell with each version they release. The simple answer to this question is a command called Get-Service. But there is a big update that makes getting the required information much easier with PowerShell...

7PowerShell
Topics
.NETActive DirectoryActiveDirectoryAnnouncementArrayBlog newsCaps LockDevOpsExisting CmdletFileFileSystemWatcherFun trickFunctionGitlocal userslogon scriptsModulenetworkingNew PurposePowerShellScripting Guys UpdatesecuritystringTest-PathToUpper()XML
Top Bloggers
Avatar

@DoctorDNS
PowerShell Evangelist

Avatar

Wolfgang Groß
Software-Developer

Doctor Scripto

Doctor Scripto
Scripter

Avatar

Fabian Baumanis

DarwinJS

DarwinJS
Senior Solutions Architect

Links
  • About this blog
  • How to contribute to the blog
  • PowerShell Team blog
  • Scripting blog (retired)

Stay informed

Login
Code Block
What's new
  • Surface Laptop 4
  • Surface Laptop Go
  • Surface Go 2
  • Surface Pro X
  • Surface Duo
  • Microsoft 365
  • Windows 10 apps
  • HoloLens 2
Microsoft Store
  • Account profile
  • Download Center
  • Microsoft Store support
  • Returns
  • Order tracking
  • Virtual workshops and training
  • Microsoft Store Promise
  • Financing
Education
  • Microsoft in education
  • Office for students
  • Office 365 for schools
  • Deals for students & parents
  • Microsoft Azure in education
Enterprise
  • Azure
  • AppSource
  • Automotive
  • Government
  • Healthcare
  • Manufacturing
  • Financial services
  • Retail
Developer
  • Microsoft Visual Studio
  • Windows Dev Center
  • Developer Center
  • Microsoft developer program
  • Channel 9
  • Microsoft 365 Dev Center
  • Microsoft 365 Developer Program
  • Microsoft Garage
Company
  • Careers
  • About Microsoft
  • Company news
  • Privacy at Microsoft
  • Investors
  • Diversity and inclusion
  • Accessibility
  • Security
English (United States)
  • Sitemap
  • Contact Microsoft
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Safety & eco
  • About our ads
  • © Microsoft 2021