Get-Fun | Set-Code

Pages

  • Home
  • PowerShell Course
  • Connect with Me !

Saturday, 10 October 2020

Storing Function Value to a Variable


$a=1;
Function Test()
{
if($a-eq1){return "True"}else{return "False"}
}
$b= Test
$b


Posted by Sumant Prasad at 01:20 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Search This Blog

Blog Archive

  • ►  2025 (6)
    • ►  April (4)
    • ►  March (1)
    • ►  January (1)
  • ►  2024 (16)
    • ►  December (13)
    • ►  October (1)
    • ►  August (1)
    • ►  July (1)
  • ►  2023 (2)
    • ►  August (2)
  • ►  2022 (3)
    • ►  December (1)
    • ►  July (1)
    • ►  June (1)
  • ►  2021 (18)
    • ►  September (1)
    • ►  August (5)
    • ►  May (2)
    • ►  April (9)
    • ►  March (1)
  • ▼  2020 (18)
    • ▼  October (1)
      • Storing Function Value to a Variable
    • ►  July (1)
    • ►  June (1)
    • ►  May (3)
    • ►  April (1)
    • ►  March (1)
    • ►  January (10)

About Me

My photo
Sumant Prasad
PowerShell Automation|PowerShell Studio Developer |Power Apps|Power Automate|Office 365 |AzureAD|Microsoft Teams|OneDrive|Messaging Administrator
View my complete profile

Users Visited

Travel theme. Powered by Blogger.