Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • How do you learn PowerShell?

    The question is one I have heard a lot. And it's one I've spent a lot of time trying to satisfy! As I see it, there are several levels of using PowerShell, and therefore several levels of learning to be done. First, using PowerShell from the command line, e.g. to set a permission in Exchange...
    Posted to Learn PowerShell (Forum) by Thomas Lee on 11-01-2010
    Filed under: Learning PowerShell
  • Re: get-wmiobject question

    [quote user="Tobias"] You may also want to try this: Get-WmiObject Win32_NetworkAdapterConfiguration | Where-Object { $_.IPAddress } | Select-Object Caption, IPAddress Or this: Get-WmiObject Win32_NetworkAdapterConfiguration | Where-Object { $_.IPAddress } | Select-Object -expand IPAddress...
    Posted to Learn PowerShell (Forum) by Thomas Lee on 11-14-2010
    Filed under: Learning PowerShell
  • Learning Powershell - a Tip

    One tip for those of you new to PowerShell: Stop using CMD. Get rid of the icon from anywhere it exists, and use PowerShell for all you command line needs. Now for many of you, the first few days you try this may be painful - you may think me a flaming idiot for making you go through the learning curve...
    Posted to Learn PowerShell (Forum) by Thomas Lee on 11-15-2010
    Filed under: Learning PowerShell
  • Get ID from SharePoint Calender Textbox

    I want to create a SharePoint webtest with PowerShell. Right now I had a problem with a SharePoint textbox when I create a new calender entry. The textbox had no fixed id. It is possible to search the Fieldname "Title" and then get the id from the textbox? The following code is not working...
    Posted to Learn PowerShell (Forum) by LaPhi on 12-27-2010
    Filed under: Learning PowerShell
  • Return value from invoke-Command within a scriptblock?

    Hello, is there a way to return the result or varibel value from a script block? i trying to get return value in $QuotaRConfiguration Here is the code. Function Global:Folder\Get-ReplicationPartnerQuotaFoldersConfiguration($Configuration) { $QuotaRConfiguration = @{"users" = @{"office"...
    Posted to Learn PowerShell (Forum) by leif.hannusas@netent.com on 02-14-2011
    Filed under: Learning PowerShell
  • debugging a PS script that requires $env variables to be set via .bat file fails - smart solution?

    I'm learning PS and believe to have progressed to an 'intermediate level' but am encountering a stumbling block now regarding debugging a PS script that requires $env variables to be set via .bat file. In order to detach a PS script from the real run-time environment (i.e directory names...
    Posted to Learn PowerShell (Forum) by mwood on 02-25-2011
    Filed under: Learning PowerShell, Scope, variables
  • Re: Getting Started with PowerShell Webcast - Q&A

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Q: is there a way of making a variable contain a real time content, eg in the timestamp example, each time you type $timestamp you get the exact current time No. Once you assign a value to a variable, it stays the same. You can...
    Posted to Learn PowerShell (Forum) by ps1 on 04-11-2011
    Filed under: Learning PowerShell
  • Re: Getting Started with PowerShell Webcast - Q&A

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Q: how can a poll each pc to get the version of office on each? There are actually different paths. If PowerShell remoting is enabled on the target machines, then you can use Invoke-Command to remotely execute any PS code you want...
    Posted to Learn PowerShell (Forum) by ps1 on 04-11-2011
    Filed under: Learning PowerShell
  • Re: Getting Started with PowerShell Webcast - Q&A

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Q: How can I check the free disk space of multiple computers? can I use a list (file)? Use this: Get-WmiObject Win32_LogicalDisk | Select-Object DeviceID, FreeSpace, Size Get-WMIObject supports a parameter called –Computername...
    Posted to Learn PowerShell (Forum) by ps1 on 04-11-2011
    Filed under: Learning PowerShell
  • Re: Getting Started with PowerShell Webcast - Q&A

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 Q: How would you determine when a machine was last rebooted? WMI can provide that information: get-wmiobject win32_Operatingsystem | Select-Object LastBoot* To convert the date to a real date, use this approach: $result = get-wmiobject...
    Posted to Learn PowerShell (Forum) by ps1 on 04-11-2011
    Filed under: Learning PowerShell
Page 1 of 3 (26 items) 1 2 3 Next >
Copyright 2012 PowerShell.com. All rights reserved.