Thursday, August 7, 2014

Home / PowerShell TTUC #16 – Adding Comment using # and <# #>

PowerShell TTUC #16 – Adding Comment using # and <# #>

PowerShell TTUC (Tips, Trick, and Useful Commands) – Adding Comment using # and <# #>

In all versions of PowerShell you can use # to a text after it a comment. 

Example:

# This a PowerShell comment

In PoweShell V2 and above you can <# #> to make a block of lines comments

Example:

<# First link

Second Line – This is a PowerShell Script

#>

SS

Santhosh Sivarajan

Microsoft MVP · Identity & Cybersecurity Architect

Santhosh has 30+ years of hands-on enterprise experience in Identity and Access Management, Microsoft Entra ID, Active Directory, Microsoft 365 and Zero Trust architecture. He is the author of two books on Windows Server and security, and leads consulting, assessments and training at SAG Business Group.

7 comments:

Are you sure you want to stay home? Here is what I think https://pro-homework-help.com/blog/homeschooling-pros-and-cons about homeschooling.

I was having a problem with my Academic Help website. My developer told me there was some problem with the script (which I don’t know what it means). I am sharing this post with him. He might find it helpful. Anyway, I think running an online business without any knowledge of development is not a good idea. I will ask my developer to teach me the basics so I have somewhat of an understanding.

Der BISSELL 17132 Black Friday Crosswave 3-in-1 Nass-Trockensauger verspricht viel. Wir finden es besonders spannend, dass dies ein Bestseller bei Amazon ist. Wir balancieren also nicht und empfehlen das Produkt zum Kauf.

The screen has an outer force supply block which comes bundled alongside the force link you need. <a href="https://reviewlord.co.uk/asus-rog-swift-pg279q/>Asus Rog Swift Pg279q Black Friday</a>There are additionally 2x USB 3.0 ports, situated on the rear of the screen close to the video and force associations. There are additionally some 2x 2W incorporated speakers, yet no further additional items like card perusers, encompassing light sensors or human movement sensors gave as those are more focused on office utilizes, while this is basically a gaming screen.

Thanks for share that kind of information, and It's pretty helpful specially for new students, I have also a great place and usually I get much help through help with my assignment, they provide the best ever services.

Cheap display advertising specialists may resort to using unethical or ineffective tactics to cut costs, such as buying low-quality ad placements or using click-bots to inflate engagement metrics. These tactics not only fail to generate meaningful results but also can harm your brand's reputation and credibility.

Free Home Repairs For Senior Citizens
This initiative is truly heartwarming and compassionate. Offering free home repairs for senior citizens is a wonderful way to give back to those who have contributed so much to society.

Post a Comment

Popular Posts
Workstation Trust Relationship Issue Issue: You receive the following error message, when you try to login to the domain.  The security database on the server does not have ... ADMT Service Account - Permission and Configuration The ADMT service account needs to have proper permission in source and target domains.  You don’t need to use 2 separate accounts.  You can ... My First Peek into Microsoft Exchange 2010 By Santhosh Sivarajan Before I really dive into Exchange 2010, I thought I would install and play with it first. I took some screen shots and notes during the ins... ObjectSID and Active Directory What is an objectSID in Active Directory? When a new object is created in Active Directory, Domain Controller assigns a unique value used ... AD Group Report - List Group Members in Active Directory–PowerShell Script Updated Script - http://portal.sivarajan.com/2011/10/search-ad-collect-local-admin-group.html Script #1 This script... Add Users to a Group–PowerShell Script Purpose – Add users to a group from an input file – PowerShell V2 Script.  Input file – Input file (Users.csv) contains samAccountName in... User Account Migration and Merging – Part I (ADMT) Part I - User Account Migration and Merging Using ADMT Part II - User Account Migration and Merging Using QMM pre-creating user account ... User Account Migration and Merging – Part II (Quest Migration Manager) Part I - User Account Migration and Merging Using ADMT Part II - User Account Migration and Merging Using QMM Pre-creating user account in... Delete Stale or Inactive Computer Accounts from Active Directory Here is an easy way to identify and delete inactive or stale computers in an Active Directory environment.  Using the dsquery command you c... Converting PowerShell (PS1) to EXE / Standalone Application As we know, there many applications available to convert a PowerShell file to a standalone executable file.  Based on my experience, PowerSh...