Search found 101 matches
- Wed Mar 04, 2015 5:28 am
- Forum: PowerShell
- Topic: Trying to remove header from the CSV file output
- Replies: 2
- Views: 4210
Trying to remove header from the CSV file output
Is it possible to remove the header information from the output. I have tried a few things like -hidetablerheaders and -expandproperty. Here is the code: get-aduser -filter * -properties name, telephoneNumber, department, extensionAttribute1 | where-object { $_.extensionAttribute1 -eq "1" ...
- Thu Feb 19, 2015 12:43 pm
- Forum: PowerShell Studio
- Topic: An exception occurred attempting to start the script
- Replies: 12
- Views: 4840
Re: An exception occurred attempting to start the script
I think what is happening is because my folder structure has an apostrophe in it it was thinking it was expecting another one to terminate the line. I took the apostrophe out of my folder structure and things seem to be working. This sounds like a bug in the software. Not 100% sure however.
Mike
Mike
- Wed Feb 18, 2015 12:45 pm
- Forum: PowerShell Studio
- Topic: An exception occurred attempting to start the script
- Replies: 12
- Views: 4840
Re: An exception occurred attempting to start the script
This is now happening again but with just a ps1 file not a psf. Shouldn't I be able to run a PS1 file and see the output in Powershell Studio 2015? Here is the code I am trying to run. Keep in mind, this runs fine in the Powershell shell just not in Powershell Studio. Import-Module ActiveDirectory g...
- Thu Feb 12, 2015 5:50 am
- Forum: PowerShell GUIs
- Topic: How to use listview with the Get-ADuser
- Replies: 4
- Views: 2617
How to use listview with the Get-ADuser
I want to list all AD users in a list view to be able to select one account and list information of that account in other areas of the form. The sample files don't really work for some reason. I just need someone to point me in the direction where I could find some useful information on using listvi...
- Thu Feb 05, 2015 9:07 am
- Forum: PowerShell Studio
- Topic: An exception occurred attempting to start the script
- Replies: 12
- Views: 4840
Re: An exception occurred attempting to start the script
I don't get it. I rebooted and everything works fine.
- Thu Feb 05, 2015 5:11 am
- Forum: PowerShell Studio
- Topic: An exception occurred attempting to start the script
- Replies: 12
- Views: 4840
Re: An exception occurred attempting to start the script
When running in V2 I get this
- Thu Feb 05, 2015 4:44 am
- Forum: PowerShell Studio
- Topic: An exception occurred attempting to start the script
- Replies: 12
- Views: 4840
- Wed Feb 04, 2015 12:41 pm
- Forum: PowerShell Studio
- Topic: An exception occurred attempting to start the script
- Replies: 12
- Views: 4840
Re: An exception occurred attempting to start the script
Powershell Studio 2015 (started script in 2014)
- Wed Feb 04, 2015 12:26 pm
- Forum: PowerShell Studio
- Topic: An exception occurred attempting to start the script
- Replies: 12
- Views: 4840
An exception occurred attempting to start the script
My script was working fine until I did a file save as and saved it to another location on my hard drive. However, It works fine with V2 - 64BIt. It only gives me this error when I choose V4 - 64bit
Thank you in advance,
Mike
Thank you in advance,
Mike
- Wed Feb 04, 2015 11:11 am
- Forum: Former and Future Customers - Questions
- Topic: Testing a script for AD givenName attribute
- Replies: 2
- Views: 2966
Testing a script for AD givenName attribute
$submitButton_Click={ #TODO: Place custom script here #$firstNameLabel.Text="TESTING 1 2 3" $enteredUserName = ($userName.Text) #$firstNameLabel.Text = ($userName.Text) $firstNameLabel.Text = Get-ADUser -Identity $enteredUserName | Select-Object -Property givenName } The $firstNameLabel.te...