Creating Alias for command which contains two piped cmdlet
hi friends
i use powershell 4.0. is it possible to create Alias for cmdlet which is piped to another cmdlet?
i need to use this command frequently:
Get-windowsFeature | select-object name ( to see only "name" column)
i checked & non of the following commands works:
new-alias myalias Get-windowsFeature | select-object name
or
new-alias myalias "Get-windowsFeature | select-object name"
any solution please?
thanks in advanced
You can't do that with an alias, it only works to substitute the name of a cmdlet or function, and takes a string value as it's argument. You can accomplish the same effect with a function, which takes a script block argument:
function myalias {Get-windowsFeature | select-object name}
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
hi mjolinor
Great guide. really thanks for that. it was exactly what i needed.
best regards
Similar Messages
-
I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?
The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
David -
Creating Alias for any application which has been integrated into portal
Hi All,
How to create Alias for any application which has been integrated into Portal?
What is portal alias?
What is URL alias?
What is the difference between all the three?
Thanks,
Jyothi.
Edited by: Venkata Naga Jyothi on Nov 23, 2011 10:18 AMHi jyothi,
1. For your first question Regarding How to create Alias for any application which has been integrated into Portal? Can you please be more clear here my question is why do you need to create alias for applications that are integrated into the portal.
2. For your second and third questions find the below links
http://help.sap.com/saphelp_nw70/helpdata/en/6e/8590f1d6d349c9adc34c6a8085189b/content.htm
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10da65ed-615b-2d10-efbc-ed07a5385633?QuickLink=index&overridelayout=true
Thanks,
Rahul.
Edited by: rahul.girmaji on Nov 23, 2011 6:29 PM -
1.- I´m creating a Muse site which contains videos, photos and sound. All videos, sounds and pictures are located in diferent folders in my PC. Since Muse doesn't organize the project and its files like Dremweaver (all files in a single folder). How can I manage my site (containing all the media) in order to upload it to a server?
2.- Is there a Adobe Muse community in spanish language?
Thanks for your help
Mauricio444Kevin is suggesting that you store the projects you create while working through his book in a folder called RoboHelpProjects. It is not where you have to store every project you ever create.That is for the purposes of his book.
RoboHelp initially defaults to My RoboHelp Projects but it's up to you whether you do. Generally on the forums we advise against that as it is part of your profile and can result in excessively long path names in a few cases. Generally where authors create file names that are so long they almost serve as the content.
Projects always have a root folder, call them Project 1 and Project 2 for this purpose. You can have those folders directly off your C drive (or other local partition) or within in a parent folder as above.
Now to what you can and cannot do. You can delete a whole project by selecting Project 1 or Project 2 in Windows Explorer. Obviously if you delete the parent folder you will delete all your projects within.
What you must not do is delete individual files within a project using Windows Explorer, for that you use RoboHelp's Project Manager. The exception is if you go to Tools > Reports there is a report Unused Files. Files listed there will have to be deleted using Windows Explorer for the very good reason they do not appear in Project Manager and, therefore, cannot be deleted that way.
If you think about it, it is similar to Word. There is no option to delete a document there other than using File > Open and right clicking. Not very intuitive.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Hello
I.m trying to create Alias for BSP
When i try to create an external Alias and to save i get the folowing message:
Service /sap/bc/solman/defaultUser Cannot be accesed!
Message no. SHTTP009
Diagnosis
You have not entered a handler, and the other services in URL also do not have a handler. This means the service cannot be accessed by HTTP request
Procedure
Check whether this is intentional, and if necesary, enter a handlerHello,
I've read the thread and i've done the steps from there. I've enterede in se80 and published WEBGUI and SYSTEM. but when i try to create the alias i still get the same error. "no handler defined". The connection to the sistem with webgui works. I think that i need to publish another service. I need to use the service under: sap/bc/solman/defaultuser.
Regards -
Create subnumber for asset which already has book value RM1.
Hi everybody,
Can i create subnumber for asset which has been depreciated until RM1 book value ? This asset has a few quantity and need to be breakdown to different cost center ? If yes, how ? AS11 or AS94 ?Hi,
Thanks Andreas. However, the asset is an old asset (already reached RM1 book value). I have tried to use AS94, but hits an error " Legacy data transfer year is not last closed fiscal year 2007". FYI the take over date in the system is 31/3/1998 while closed fiscal year is 2006. Now we are in fiscal year 2007 (Apr to Mac). If i were to change the take over date to become 31/3/2007, is there any impact to the depreciation run for other assets in the system. I'm worried if i change the take over date, the depreciation will get haywired. -
Creating alias for BEx dimensions in crystalreport
I need help with creating alias formula for BEx dimensions in crystal report. Iam trying to follow the book, but i don't know what should be the result.
Hi,
Crystal Reports is using the technical names of the InfoObjects itself so those names should be familiar assuming you also know the BEx Query.
If you want to create some form of an alias the option I can see is to create a set of formulas which simply include the field and then use those formulas as part of any other formulas.
regards
Ingo Hilgefort -
Creating exe for application that contains ARINC and MIL Codes
Hi all,
I am not able to create exe for my application that contains ARINC and MIL. To be precise, the ARINC and MIL part is not working in the exe created.
Please tell me how to create an EXE with ARINC and MIL codes.Did you install the according device drivers on the target machine? And no I don't mean the instrument drivers that you use in LabVIEW but the OS device drivers from NI (resp. AIT), that will access the hardware boards and provide an interface to the LabVIEW application. I would expect them to be part of the AIT SDK kit that comes with the boards.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Creating video for YouTube - which user settings?
I've seen a lot of posts about converting video for posting on YouTube but I can't find any information on the best sequence setting to CREATE video for posting on YouTube. I'm making a 30-45 second promotional video that will be entirely made up of stills/text and music, so I'm just going to be doing moves on jpegs. YouTube videos are now displayed 640.360, but I can't find a FCP sequence preset that will allow me to create a video at that size. Am I missing something? Should I just create it at some other widescreen setting then convert it down? Trying to keep this is simple as possible -- do not want to have to render every clip in the timeline.
thanks,
pAm I missing something?
Make your original video in one of the codecs supported by Final Cut Pro. You will find a list of possible codecs in the Easy Setup menu.
do not want to have to render every clip in the timeline...
Your source material is JPEG images. While they can be imported, they don't use a codec of their own. They will have to be rendered.
YouTube tutorials:
http://www.kenstone.net/fcphomepage/you_tube_reduxgary.html
http://www.kenstone.net/fcphomepage/youtube_compressorgary.html
http://www.kenstone.net/fcphomepage/you_tube_hdgary.html -
I have created a crystal report with credit and debit column. Balance column created on the report. Report running with cummulative balance. THis report contain an option for date range. If i filtered this report its not showing the actual balance. I need
a first row to indicate previous balance as opening balance in this report. And following is the formula for balance column.
Whileprintingrecords;
Shared Numbervar balance;
Shared Numbervar display;
balance:={@debit}-{@credit};
display:=display+balance;
displayAs this question is out of the T-SQL queue, thus I would suggest you consult Crystal Report questions to the correct forums.
C#
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral
VB
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral
people there have more knowledge on Crystal Report. -
Creating alias for Web access to SQL Server Reporting Services
Hello colleagues.
I have MS SQL Server 2012 with SQL Server Reporting Services in domain "domain.local". In the local network at the entrance via Web browser to "mdr.domain.local/Reports" get into Reports of SQL Server Reporting Services and it's work fine.
Necessary that the SQL Server Reporting Services could include via Web browser from alias "reports2.domain.local/Reports". To do this:
1) I created a new A record "reports2" in the DNS leading to IP mdr.domain.local
2) in Reporting Services Configuration Manager on a tab "Web Service URL" in "Report Server Web Service URLs" I add new record "http://reports2:80/ReportServer" (host Header Name: reports2)
BUT "reports2.domain.local/Reports" is not work. When entering to "reports2.domain.local/Reports" I see page "An error in the security certificate for this Web Site..." and when I click "Continue to ...", then "Unable
to find a web page."
What and where I must add/change for work of alias "reports2.domain.local/Reports" by analogy with "mdr.domain.local/Reports"?
I hope for your help.
Thanks.WooW it's work!!! Thank you
JJordheim you are the best!
With my PKI I create new certificate for "reports2.domain.local" and Import it to MDR server (in Personal). I create new network adapter and configure Reporting Services Configuration on "Report manager URL" tab (for SSL):
mdr.domain.local - certificate "mdr.domain.local" - network adapter №1
reports2.domain.local - certificate "reports2.sygroup.local" - network adapter №2
And all work fine.
If I configure all to 1 network adapter it's doesn't work.
Thanks for help! -
Problem in creating Entity for view which has "INSTEAD OF " trigger
Hi ,
I have an entity based on a Non updatable Database view (DB_VIEW).this database view has an INSTEAD OF trigger which validates
and save data into a table.
And I have a BC4J view based on this entity.
Problem :
When I try to insert a record using bc4j view object,I get following error
ORA-22816: unsupported feature with RETURNING clause
Query sent by view Object is :
BEGIN INSERT INTO DB_VIEW(COLUMN1,COLUMN2,COLUMN3) VALUES (:1,:2,:3) RETURNING ROWID INTO
:4; END;
I am not able to insert any record in that view.
I tried removing rowID from my BC4J entity and View but problem is that in Databae view there is no
column which can be set as a primary key other then ROWID.I had the same problem.
Oracle 9.2 sadly does not support the RETURNING clause for database views with INSTEAD OF triggers.
Here is Steves Solution:
1. Create a custom entity def impl class for your entity on the Java panel
2. override the isUseReturningClause() and return false
That should work in 9.0.3.4, 9.0.4 build 1419, and 9.0.5.1 production.
from How to disable generation of RETURNING clause?
Hth, Markus -
Create entry for characteristic which is not in aggregation layer
Dear all,
I have an realtime cube with an aggregation layer on top for a planning application. For some reason I can not include one characterisctic in the aggregation layer.
Although I need a value for this characteristic, e.g. after each saving within the planning application.
Is there a way to create entries (constant) for specific characteristic which are not part in the aggregation layer.
We are running NW 7.1.
Any help would be great.
Best regards,
Stefan from Munich/GermanyHi,
As tilak has mentioned above, you can use characteristic relationships to derive a characteristic data based on another charactereistic value.
The following are thr things are the things to be kept in mind whn using characteristic relationships,
1. Load the master data properly for the required characteristics if you are using relationship of type, either attribute or hierarchy.
2. If you want to derive rthe data based on your own requirements, use relationship of type DSO or Exit.
3. Make sure that the particular characteristic relationship after creation, inorder to use it in your planning application.
For more details, you can refer to the link, [Re: IP: Characteristic derivation during Transfer values|Re: IP: Characteristic derivation during Transfer values]
Rergards,
Balajee. -
Creating alias for a table. Urgent!! Need help
we are migrating databases from SQL Server to Oracle 9i. In sql server database we have couple of table names with more than 30 characters in length. In oracle is it supports or not I am not sure. Does anyone know how to create an alias in Oracle?
Suggestions welcome. Thanks in advance.
RameshThis is not possible currently. Object (tables/views/procedures) names cannot be larger than 30 characters.
Donal -
Can't create an alias for User home folder for a second user
Please help:
I can't make an alias of a User home folder of a second user. I can successfully make an alias of a home folder of the first user. The computer says the folder is in use and to wait for some activity to complete, or that I don't have enough privileges. There are no activities happening and both accounts are administrator level. Is this a behavior of OS 10.5.6? I created alias for the two users before, but had unrelated problems and wiped the drive, re-installed 10.5.6 and now I can't do it.
Much thanks and aloha - Rockyhi Petar,
Wish it was that simple where i can just change the ID to ACT but unfortunately alot of our users like to hardcode there currentview and changing the scenario dimensions would take a big effort and alot of support work. We had changed one of the dimension members before and we got phone calls asking why the report doesn't work for weeks. Do you know if the NW version of BPC has that capability?
Thanks,
Elmer
Maybe you are looking for
-
Timelime playback problems in CS4
After several months editing on a CS4 project with three sequences, at first randomly, and now everytime Iopen the project file and hit playback it takes several seconds for either clips in the source monitor or sequences on the timeline to playback.
-
I inadvertently installed the Adobe Acrobat XI Pro on my laptop as a trial. It has expired and I want to remove it and use the previous version that I had on the machine before the install which was a full version of Adobe Acrobat. Please provide me
-
Make Energy Management Utility keep brightness
Hi, I have a Lenovo G550L which I use with Windows XP SP3. I have installed Lenovo Energy Management 3.0.3.0 and set it up. I like that it supports CPU throttling, because I couldn't set this up without installing the utility. One thing is bugging me
-
Daylight Savings Time 2007 and Jrockit JVM 1.4.2_04
If I have applications running on WLS 8.1 SP2 with Jrockit JVM 1.4.2_04 on AS3, would the NEW Energy act of 2007 which resets the DST in march insteadt of April affect my JVM? If yes is there a patch?
-
This would be very expensive as I own Photoshop Elements 5, 8, 9, 10 and 11 and some are Premier! I purchased 11 hoping to gain more storage space!! I really like 8 and 9 best and want to use them frequently. In the past when I updated, then I had